DataTable myTable;
DataView myTableView
myTableView.Table=myTable
myTableView.RowFilter="...:"
DataRow myTableRow
foreach (DataRowView drv in myTableView)
{
myTableRow=(eventually cast to typed row)drv.Row;
....
}
"Ubi" <Ub*@discussions.microsoft.com> schrieb im Newsbeitrag
news:6B**********************************@microsof t.com...
But what if i have more than one row selected?
"Zürcher See" wrote:
If you want to have the DataRow of the DataTable, you can access it
through the DataRowView.Row property
"Ubi" <Ub*@discussions.microsoft.com> schrieb im Newsbeitrag
news:41**********************************@microsof t.com... hello,
i'm using a dataview to filter my table.
how can i get a index (for the original table) of the selected rows
(there can be more than 1).
please help