DataView

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

Assume you have a DataView with 50 records that has a DataTable in it. You
specify a filter that reduces the number of available records in the
DataView to ONE record. What is the syntax for storing that data in a new
variable of type DataRow?

Thanks in advance.

Mark
 
Mark,

The DataView will already expose the row to you through the indexer.
Basically, the indexer will return a DataRowView which will give you a view
on the row (and will allow you to filter based on RowState, for example).

Hope this helps.
 
Back
Top