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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top