Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataView.Sort and DataView.FindRows

Status
Not open for further replies.

iamanson

Programmer
Aug 17, 2001
42
AU
Hi,
If my DataView contains data
ID VALUE
APPLE 1
APPLE 3
APPLE 2
ORANGE 1
ORANGE 4
ORANGE 2
ORANGE 3

Can I use .FindRows to get DataRowView data ID=ORANGE and sorted by VALUE?

I tried
DataView.Sort="ID, VALUE";
DataRowView [] = DataView.FindRows("ORANGE");
but it's not a valid syntax.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top