Don't forget the filter method of the dataview. This method allows you to
specify a criteria and just show the rows in the dataview which meet the
specified criteria.
e.g (Where oDS is a dataset)
oDS.Tables(0).DefaultView.RowFilter = "_age > 10"
In response to your original question you could go (Off the top of my head
here ;) something like this...
Dim oRow As DataRow
For Each oRow In oDV.Table.Rows
MessageBox.Show(oRow.Item("MyDatabaseField"))
Next
hth
Cheers
Mark
DataView.RowFilter
"Manny Chohan" <Ma*********@discussions.microsoft.com> wrote in message
news:FE**********************************@microsof t.com...
Hi guys,
I need some help with Dataview. Can someone guide me as to how i can
iterate through dataview such as for each item etc. I need to look for a certain
item in a dataview.
I am using c#.
Thanks
Manny