Articles in the Windows Controls in Visual studio Category
Tech Corner, Windows Controls in Visual studio »
DataGridView
Is the windows control equivalent to gridview web control.Both are visual studio controls.Here i am trying to explain how to bind values to a datagridview from a table.
Pre-Requisites
1.) Open visual studio and start a project, and add a windows form.
2.) From toolbox there is a tab”DATA” from this add a DATAGRIDVIEW control.
3.) A table is made in a certain structure(MS-SqlServer is used here,Table structure given below).
4.) A class named “DBAccess.cs” is made for database connectivity(Explained below).Read More
…