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.
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.
精彩评论