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

php - Dynamic url re-writing using htaccess -

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -