Thursday, 27 June 2013

Displaying Hierarchical Data Using the DataGrid

Displaying Hierarchical Data Using the DataGrid

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

No comments: