Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with creating an INSERT statement using MySQL
#5
Yeah, you should be fine. However, you will still need to close the database connection in order to prevent any memory leakages within your application. Try playing around with your code and place dbData.Close() in various locations. Specifically, it should be somewhere after all of the code is finished executing!

Hopefully this helps.

Also, since you seem to be pretty active on the forum, please read this post: <!-- l --><a class="postlink-local" href="http://bpforums.info/viewtopic.php?f=8&t=569">viewtopic.php?f=8&t=569</a><!-- l -->
My Blog | My Setup | My Videos | Have a wonderful day.


Messages In This Thread
Re: Help with creating an INSERT statement using MySQL - by brandonio21_phpbb3_import2 - 08-30-2012, 03:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How can I read a link from mysql databse??? mnxford 9 42,197 04-12-2013, 06:27 PM
Last Post: brandonio21
  How do I use Listview to delete MySQL DB records kismetgerald 10 42,582 11-28-2012, 05:19 PM
Last Post: brandonio21
  [SOLVED] MySQL Update Query - What am I doing wrong? kismetgerald 11 54,617 10-18-2012, 07:16 PM
Last Post: brandonio21
  How do I fill my form with MySQL data based on Combobox? kismetgerald 8 33,276 10-14-2012, 09:05 PM
Last Post: brandonio21
  MySQL Database Issue Moldraxian 7 34,712 08-13-2012, 08:58 PM
Last Post: brandonio21
  MySql Database Queries in VB.Net Moldraxian 6 28,112 07-26-2012, 03:44 PM
Last Post: Moldraxian
  How to Package MySql Connector and MySql Program? Moldraxian 3 18,213 07-20-2012, 12:23 PM
Last Post: brandonio21
  MySql Help Blackrobot 3 17,854 04-06-2012, 03:49 AM
Last Post: xolara
  VB and MySQL help please Chad1020 2 14,977 03-21-2012, 04:10 PM
Last Post: brandonio21
  MySQL Help -Kid- 6 33,026 02-20-2012, 11:57 AM
Last Post: brandonio21

Forum Jump:


Users browsing this thread: 1 Guest(s)