Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can open multy oledbdatareader at same time in window application.
Posted
Comments
Shambhoo kumar 20-Nov-12 10:21am    
any one help me...

1 solution

i guess you are trying to open two or more DataReader instances that share the same instance of DbConnection. This is not supported. Only one opened DataReader per DbConnection is supported.
1.) Finish the work of reader one and close it prior to open the second reader
2.) open a seperate connection for the second reader
 
Share this answer
 
v3

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