Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connections,Transactions and DataReader
Message
 
To
15/12/2003 12:39:44
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00859176
Message ID:
00859188
Views:
16
Hi Bonnie,

thanks for the guess! Your idea works, I tried this before I wrote.
But I wanted to really understand whats going on. Cathies tip made it here.

Marcus

>Hi Marcus,
>
>I don't know for sure, but I'm betting that the SqlDataReader closes the connection once it's done with it (I've not used DataReaders). Your best bet is to open the connection in your UpdateData() method and close it there when you're done with it, rather than opening the connection in the SetupConnection() method.
>
>~~Bonnie
Marcus Alt
TRIA IT-Consulting GmbH
Working hard | for your success
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform