your dataview's row filter supports the AND and OR keyword..
"how can I filter on 2 rows being returned" do you mean 2 tables? where one
is called Data1 and the other is called Data2? Assuming that's what you
mean, you can create a DataRelation..
something like:
ds.Relations.Add(new DataRelation("Data1ToData2",
ds.Tables("Data1").Columns("ParentColumn"),
ds.Tables("Data2").Columns("ChildColumn"))
Dim dv As DataView = ds.Tables("Data1").DefaultView
dv.RowFilter = "Value > 0 and Value < 25 AND Child.Value > 0AND
Child.Value < 25"
now that's just off the top of my head, but look into datarelations and the
MS-Help for Data expressions:
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/cpref/html/frlrfsystemdatadat
acolumnclassexpressiontopic.htm
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"IGotYourDotNet" <IG************@discussions.microsoft.com> wrote in message
news:B0**********************************@microsof t.com...
I know how to filter on 1 row from the dataset using a dataview.
How can i filter on 2 rows being returned?
example:
i need to only display
data1.value > 0 and <= 25
data2.value > 0 and <= 25.
is there anyway to do this