|
-
Jun 19th, 2007, 10:54 AM
#4
Re: [RESOLVED] How can I use the same connection string on the same page?
Always close and destroy your connection once you're done with it. To comment on your code though, I would use a different connection object for each logical query I perform.
Also, store your connection string in the web.config file, this way using the same connection object becomes an idiotic matter for you.
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
|