开发者

Checking datareader to be empty

开发者 https://www.devze.com 2023-03-07 11:07 出处:网络
How do I check if my datareader is completely empty开发者_开发知识库 ? Not talking about nullvalues but completely empty (no records).

How do I check if my datareader is completely empty开发者_开发知识库 ?

Not talking about nullvalues but completely empty (no records).

Thanks!


Use the HasRows property to check if there are any rows or not.

0

精彩评论

暂无评论...
验证码 换一张
取 消