This Program Able To Displays List of Students in Datagridview. The System Allows The User To Search by Last Name, First Name and Course
This Program Able To Displays List of Students in Datagridview. The System Allows The User To Search by Last Name, First Name and Course
Step 4.Create a form like this, drag the listbox, button and datagridview to the
form.
listBox1
datagridview1
Second
Edit here
button1
Click this
first
Step 6. Select Reference in solution Explorer and then select Add reference
Then go to the folder you download including this Power point and
select the student_students.sql file then ok and
Click button Start Import
Click this
Select this
Click this
Step 8. 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
Continue coding
here
Continue coding
here
Step 10. F5 to run the program and the output is look like
this. Select an item from listBox to search
Thank you
I hope
You learn a lot