Find and Filter??

In VB6 I can actually find a record in the recordset like this:

recordset.find "ColumnID = 1 "

but how can I do thid in VB.net??
 
There is also a Find method on the DataView
Code:
Private Sub FindValueInDataView(t As DataTable)
   Dim dv As DataView
   Dim i As Integer
   dv = New DataView(t)
   dv.Sort = "CusomerID"
    Find the customer named "DUMON" in the primary key column
   i = dv.Find("DUMON")
   Console.WriteLine(dv(i))
End Sub

John
 
Back
Top