Q: DataView

  • Thread starter Thread starter Geoff Jones
  • Start date Start date
G

Geoff Jones

Hi

What is the best way for me to create a dataview based on a subset of
another dataview? That is, I have one dataview, say FirstDataView, which
contains some rows which I want in another dataview, say SecondDataView.

What is the most efficient way to accomplish this?

Ta

Geoff
 
Geoff,
Didn't I answer this one the other day?

You can only create DataView from a DataTable itself or
DataRowView.CreateChildView, the second requires a DataRelation defined.

With effort you can build a row filter based on values in the first view,
however I suspect that will be more trouble then its worth.

I would simply use the first view and manually select the rows I was
interested in.

Hope this helps
Jay
 
Back
Top