I want to be able to take an Integer value that references a primary key.
Find the corresponding row and then get the index of that row.
Dim n As integer = 5 '(hypothetically)
Dim row1 As System.Data.DataRow = Me.DataSet11.Main.Row.Find(n)
How do I get the index of that row that I just found?
I obviously thought of IndexOf() but it doesn't work by doing row1.IndexOf()