This Program Automatically Loads Database Table To A Listbox Control and The Selected Value in Listbox Will Appear in Datagridview
This Program Automatically Loads Database Table To A Listbox Control and The Selected Value in Listbox Will Appear in Datagridview
This Program Automatically Loads Database Table To A Listbox Control and The Selected Value in Listbox Will Appear in Datagridview
THIS PROGRAM
AUTOMATICALLY LOADS
DATABASE TABLE TO A LISTBOX
CONTROL AND THE SELECTED
VALUE IN LISTBOX WILL
APPEAR IN DATAGRIDVIEW.
Prepared by:
Camille Kimberly M. Flores
IT3_B1
Click
Click OK to move
Solution Explorer
Properties
You can edit the name, font,
Color, etc. here.
dataGridView
listBox
Step 5. Select the name of your project here, then select Add after that click Class.
Step 6: Select Class and name the class as DBConnect.cs after that click Add button below.
Click
Click
Step 7:
Step 9: Select Class and name the class as ClassStudents.cs after that click Add button below.
Click
Click
Step 10: Go to solution Explorer then right click REFERENCES and Add reference.
Click
Click
Step 11. Go to Desktop and Open the MySQL Workbench application if you dont have then try to
install the installer inside the folder of DATABASE , then use password: admin when the installation
is near to complete, after that open the MySQL Workbench application then click or open the Local
instance then type the password: admin after that, go to management. Then select Data
Import/Restore and follow the Instruction below.
Then second
click this
Click start
import
Double click