Professional Documents
Culture Documents
Post1-Automatic Loa Database
Post1-Automatic Loa Database
Step 4.Create a form like this, drag the selected listBox to the form,
and also The Datagridview from the ToolBox
ListBox1
Datagridview1
Step 5.Select the name of your project here, then select Add after that click
Class.
Select Visual C# Items then select Class
and
Name the class as DBConnect.cs after
that click Add button below.
Step 6. this step is almost the to step 5 except the name of the
class,
Select the name of your project here, then select Add after that
click
Class.
Select
Visual C# Items then select Class and
Name the class as ClassStudents.cs after that click
Add button below.
Step 7. Select Reference in solution Explorer and then select Add
reference
Select
this
Click this
Click this
Step 9. Heres the coding portion, go back to the Visual Studio 2012 Application
and go to DBConnect.cs and insert this code.
Insert
this
code
Start coding
here
Continue coding
here
Continue coding
here
Insert this
Start coding
here
Continue coding
here
Thank
you
Reference of the program:
I hope
You learn a lot