Click here to Skip to main content
15,885,782 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to use more data readers using in c#
Posted
Comments
Sergey Alexandrovich Kryukov 1-Feb-13 1:44am    
Not clear. Please elaborate, use "Improve question". And don't forget to add a question mark, to avoid accidental removing your post as "not a question".
—SA
aarunsd 4-Mar-13 5:49am    
Thank u sir

Even using single connection you can achieve it,
In Connection string enable MARS (multiple access result seT)
C#
Server=.\SQLEXPRESS;Database=master;Integrated Security=SSPI;
  MultipleActiveResultSets=true;


Check this as correct answer if it helped
 
Share this answer
 
 
Share this answer
 
Comments
boogac 1-Feb-13 3:52am    
simple and correct,thanks for the link

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900