Record index from DataRowView object

G

Guest

Is there a way to determine "I'm looking at the nth record in this datatable"
from a datarowview object?

Ex.
Dim drv As DataRowview
Dim dv As New DataView(MyDt, "recordID>=" & recordID.ToString,
"RecordID")

For each drv In dv
Console.Writeline("You are looking at the " & ???? " record.")
Next
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top