|
-
Dec 23rd, 2009, 04:37 AM
#1
Thread Starter
Junior Member
How to get an existing OleDbConnection
Hi! I used the wizard to create a connection to a DB, and in the server explorer I can see my data connection. I would like to execute a command OldDbCommand, but I need to get the connection to the data. Do I have to create a new one every time I need to execute a command? Creating a new connection every time works, I already tried, but I was asking myself if the connection was already available somewhere.
Thanks for any answer!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|