ADO.Net Dataview Find syntax?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark

    #1

    ADO.Net Dataview Find syntax?

    I want to find a record in a dataview based on two fields, and am unsure of
    the syntax.

    For example, I want to find the record that matches customer name (field 1)
    and company name (field 2).

    mydv.Sort = "custname, compname"
    intRow = mydv.Find(?) ' **** this is the place I'm not sure of ****
    If intRow >= 0 Then
    address = mydv(intRow)(3)
    End If

    Thanks,
    Mark

Working...