how to create data grid table and how to link it to MS SQL Server 2005 Express database

how to create data grid table and how to link it to MS SQL Server 2005 Express database

hello,
create a table in your sqldatabase then

In vb.net, select 'data grid view' from toolbox and place it on your form
choose data source -> add project data source-> select connection ->select database and then select table which you want to display in data grid view.

go to the properties of text box-> data binding-> text->go to the database and choose table's column name.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.