Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataAdapter Connection
Message
From
13/02/2009 16:57:54
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01381605
Message ID:
01381666
Views:
34
>>If a connection is already open, does a DataAdapter close it & reopen it? Does the DA close it in all cases, or only if it opened the connection?
>
>AFAIK, if it's open, it's left open. It leaves it in the same state as it was passed in. So if it's not open when you call the DA, it will open it, fill the data, then close it. If it's already open it will use the open connection (and leave it that way when finished).

I think I remember it working this way, also. It would be easy enough to test to confirm.
Very fitting: http://xkcd.com/386/
Previous
Reply
Map
View

Click here to load this message in the networking platform