c# - SqlDatareader Has Rows with Multiple Result Sets -


i have result sets in there 3 results. first result set has no rows , next result sets has rows. how check if each result sets has rows?

when tried saying false

reader.hasrows //this returns false  reader.nextresult()   reader.hasrows //this agains returns false result has rows 

try execute query directly sql see result get. maybe try re-think original query , insert there check empty result set.

here sample of datareader multiple result sets: see different code you're using?


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -