Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I fill my form with MySQL data based on Combobox?
#2
kismetgerald Wrote:So with the help of fellow members @ stackoverflow.com
Ah, I love that website. Such a great community.


So, I think what you are going to want to do is make dbTable a global variable, meaning that it can be accessed by all methods.

Then, on the ComboBox SelectedItemChanged event, simply make it so you retrieve information from the dbTable variable. However, this may not work depending on how your database is arranged. Could you give us a layout depicting how your database is arranged?
My Blog | My Setup | My Videos | Have a wonderful day.


Messages In This Thread
Re: How do I fill my form with MySQL data based on Combobox? - by brandonio21_phpbb3_import2 - 09-30-2012, 08:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How can I read a link from mysql databse??? mnxford 9 39,078 04-12-2013, 06:27 PM
Last Post: brandonio21
  I am getting problem with brandonio's registration form... mnxford 1 10,467 03-27-2013, 10:55 AM
Last Post: mnxford
  i am getting a problem with brandonio's login form mnxford 1 10,784 03-27-2013, 10:55 AM
Last Post: mnxford
  How do I use Listview to delete MySQL DB records kismetgerald 10 40,588 11-28-2012, 05:19 PM
Last Post: brandonio21
  [SOLVED] MySQL Update Query - What am I doing wrong? kismetgerald 11 51,039 10-18-2012, 07:16 PM
Last Post: brandonio21
  Loading DB data into Combobox then populate TextBox Controls kismetgerald 0 6,487 09-02-2012, 08:44 PM
Last Post: kismetgerald
  Help with creating an INSERT statement using MySQL kismetgerald 4 19,551 08-30-2012, 03:03 PM
Last Post: brandonio21
  MySQL Database Issue Moldraxian 7 33,264 08-13-2012, 08:58 PM
Last Post: brandonio21
  getting a file name form a save dialoge zmanalpha 3 16,437 08-04-2012, 03:15 PM
Last Post: brandonio21
  MySql Database Queries in VB.Net Moldraxian 6 26,613 07-26-2012, 03:44 PM
Last Post: Moldraxian

Forum Jump:


Users browsing this thread: 1 Guest(s)