Wednesday, June 29, 2016

How To Use DataGridView










Hello everyone, now i wanna tell you how to use DataGridView tools on VB.NET
Here are the steps :

1. create your database using Microsoft Access
2. save the database in your_project_name\your_project_name\bin\Debug
3. open your VB.NET project
4. drag the DataGridView tools to the form
5. click on the arrow, and DataGridView tasks would be show.
click choose data source, then click Add project data source..








6. choose database > next


7. click on new connection


8. browse the database, and choose the database file that you've saved in \Debug > ok


9. click on no if there's showing an information pop up


10. checklist "yes, save the connection...", next


11. checklist "Tables", or just checklist some column that you wanna show. finish


12. run your program


that's all the steps, hope you like it.