The user selects a value from a combobox and I would like to use that value to find a particular row in a datatable.
I have the value of the field I'm looking for.
Need to find row in my datatable where FleetID = x
AND get the row number when found.
Was trying to do this to locate row:
Dim RowFind As DataRow = dtFleet.Rows.Find("FleetID" = x)
I get an error: InvalidCastException - Conversion from string "FleetID" to type 'Double' is not valid.