Hello
I am testing the GridView in order to buy it if it answer my needs.
I am lookin for an example of how to bind the gridview to the dataset through a BindingSource.
Something like:
Add relation = "Table1_Table2", "Table1" & "Table2"
masterBindingSource.DataSource = myDataSet;
masterBindingSource.DataMember = "Table1";
detailBindingSource.DataSource = masterBindingSource;
detailBindingSource.DataMember = "Table1_Table2";
gridView1.DataSource = masterBindingSource;
gridView1.DataMember = "Table1_Table2";
In your example i see that i have to create the GridViewTemplate & relation & MasterGridViewTemplate.ChildGridViewTemplate.
But you are not using the BindingSource.
Can you give an example of using a BindingSource for hierarchic of 2 tables?
Thanks Yael
I am testing the GridView in order to buy it if it answer my needs.
I am lookin for an example of how to bind the gridview to the dataset through a BindingSource.
Something like:
Add relation = "Table1_Table2", "Table1" & "Table2"
masterBindingSource.DataSource = myDataSet;
masterBindingSource.DataMember = "Table1";
detailBindingSource.DataSource = masterBindingSource;
detailBindingSource.DataMember = "Table1_Table2";
gridView1.DataSource = masterBindingSource;
gridView1.DataMember = "Table1_Table2";
In your example i see that i have to create the GridViewTemplate & relation & MasterGridViewTemplate.ChildGridViewTemplate.
But you are not using the BindingSource.
Can you give an example of using a BindingSource for hierarchic of 2 tables?
Thanks Yael