Traversing data in DataViewManager
Hi
I have created a DataViewManager to bind to a grid.
Original dataset has two tables. Table1,Table2.
ds = new DataSet();
DataTable Table1 = new DataTable("Table1");
DataTable Table2 = new DataTable("Table2");
ds.Tables.Add(Table1);
ds.Tables.Add(Table2);
ds.Relations.Add("Table1table2",Table1.Columns["QueryThreadGuid"],Table2.Columns["QueryThreadGuid"]);
dv = new DataViewManager(ds);
While Creating DataViewManager I set a row filter on Table1.
dv.DataViewSettings["Table1"].RowFilter = "OpenClose = 'Automatic Open' OR OpenClose = 'Manual Open'";
I want to have data of Table2 in DataViewManager.
How can I get it?