B
Bamse
hi, i have this situation:
1 gridDocs binded to a table,
1 gridRev + several controls binded to a dataset, which does not contain the
above mentioned table;
i want that when i select a row in gridDocs, get the id of the selected
document and pass it to the RowFilter of the gridRev;
then, the gridRev shows only the corresponding child rows.
gridRev.Tables["Revisions"].DefaultView.RowFilter = "DocID = " + selectedID;
and this it doesn't work. i also tried with DataViewManager, and didn't work
either.
i cannot use 2 tables within a dataset, with relations and the usual stuff
(because of the design).
please help,
Daniel
1 gridDocs binded to a table,
1 gridRev + several controls binded to a dataset, which does not contain the
above mentioned table;
i want that when i select a row in gridDocs, get the id of the selected
document and pass it to the RowFilter of the gridRev;
then, the gridRev shows only the corresponding child rows.
gridRev.Tables["Revisions"].DefaultView.RowFilter = "DocID = " + selectedID;
and this it doesn't work. i also tried with DataViewManager, and didn't work
either.
i cannot use 2 tables within a dataset, with relations and the usual stuff
(because of the design).
please help,
Daniel