Thanks Nathan. this what i have to its working now.
Nayla....
User Profile
Collapse
-
Thanks for your help. I understand it in better way now.
Nayla....Leave a comment:
-
nested SqlDataReader.Read() problem
I am using 2 SqlDataReader and while(dr.Read() ) get only first record and loop stops. its not retriving all of the records but if I comment
db1.RunSQLState ment(sql1,out unit_dr);
while (unit_dr.Read() )
these statements then outer loop gives all the records. could you please help me how can while(dr.Read() ) loop executes untill end of file.
SqlDataReader dr = null;
db.RunSQLStatem ent(sql,out dr);...
No activity results to display
Show More
Leave a comment: