|
-
Apr 16th, 2010, 05:48 AM
#4
Thread Starter
Frenzied Member
Re: Data isnt getting Saved, using oledb cmd
well thanks my original problem is solved, but
one question with respect to
one more thing:Its not a good idea to open a connection at the form load and closing the connection at the form closing
for more security to the database,just open the connection,perform executenonquery and then close the connection immediately
well if say every minute i want to get some data from the db, then should i connect and disconnect from the db every minute.
i also had an doubt on the same topic
If i have around 20 to 30 form which will access the same db , then do i need to create the connection object in each and every form
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
|