Ifahad

Hi,
I dont know how to display data in tabular form . After querying the database I want to display each record in a row( like MS Excel). If user double click on any row then I want to display detailed information about that specific record.

thanks



Re: Windows Forms Data Controls and Databinding Displaying Data In tabular

Karthikeya Pavan Kumar .B

check this link.. hope it helps




Re: Windows Forms Data Controls and Databinding Displaying Data In tabular

Gavin Jin - MSFT

Hi,

It is a little difficult to show data in tabular in datagridview,.Luckly there is a detail sample about how to do it.

The DataGridView control is a powerful new grid control that you can use to present data in Windows Forms applications that are based on the Microsoft .NET Framework 2.0. This control includes new functionality that is not available in the DataGrid from Microsoft .NET Framework 1x. It is also much easier to use for complex data binding scenarios. This webcast compares the feature set of the DataGridView control with that of the existing DataGrid control. Learn how to use the DataGridView control for sample binding scenarios that include elements like unbound columns, virtual mode scrolling, and embedded controls in columns.

For more information ,check this

With Regards