You must Prepare Relational DataSet and then bind this to datatagrid. I did
this with Inferagestic(third party dotnet controls) DataGrid , i am not sure
but it should be true for windows grid
regards
Waheed
I have tried this, but the data is not getting displayed as i expected.
I have defined the DataRelation as below.
Dim dr As New DataRelation("myRelation",
dsProducts.Tables("table1").Columns("ProductID"),
dsProducts.Tables("table2").Columns("ProductID"))
Pls send me some link where i get some code or article regarding this
My DataGrid should look like this
http://www.componentone.com/Products/images/net/c1flexgrid/flexnet_category.gif
> You must Prepare Relational DataSet and then bind this to datatagrid. I did
> this with Inferagestic(third party dotnet controls) DataGrid , i am not sure
[quoted text clipped - 5 lines]
> > how to add nested DataGrids in windows form to display Hierarchical Data
> > Pls help
Ninoslav Rasinec - 09 Nov 2006 17:09 GMT
If you can use third party controls, please take a look at our Hierarchical
DataGridView control. You can find more info on
http://www.applicationaspect.com/SiteSections/ProductCenter/HierarchicalDataGrid
View/Overview.aspx

Signature
Regards,
Rasinec Ninoslav
www.ApplicationAspect.com
nras....@ApplicationAspect.com
(please, replace dots with appropriate letters)
>I have tried this, but the data is not getting displayed as i expected.
> I have defined the DataRelation as below.
[quoted text clipped - 20 lines]
>> > Data
>> > Pls help