ADO.NET Projects

ADO.NET Project 1

ADO.NET Examples


Displaying Hierarchical Data Using the DataGrid
Previous Home Next
  1. In the Solution Explorer, double-click DataGridview.cs Visual Studio opens the form in the form designer.
  2. Select the DataGridview1.
  3. In the Properties window, select the Choose DataSource property, expand the drop-down list, and then select add new project

    click the button next and add connection and then click next and choose table marks and then click finish

  4. Now go to edit colomns and change Header Text name as required

  5. now the form is

  6. now run the program

    Previous Home Next