Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do you check connection on every call to SQL?
Message
 
 
To
09/03/2012 14:07:58
General information
Forum:
ASP.NET
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01537347
Message ID:
01537787
Views:
27
>>Thank you for the suggestion. I will read on how to use Using/End using (new syntax to me).
>
>You simply need to take the sample I provided and adjust as necessary. The first line will be adjusted for your connection string. oCommand and oDataAdapter are simply properties names as per their class. So, their declaration is as follow:
>
>
>        Private oCommand As IDbCommand = Nothing
>        Private oDataAdapter As IDbDataAdapter = Nothing
>
Thank you!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform