It has been a while since I have done this. How do I navigate through a datatable and get the datarow number of the current record?
I thought that it would be something like this:
I thought that it would be something like this:
Code:
go to first record
me.BindingContext(dsVeh.Tables("tblVeh").Position = 0
go to next record
me.BindingContext(dsVeh.Tables("tblVeh").Position +=1
[\code]
That code is giving me an error though by saying Position is not a member of bindingcontext.
And I do not know how to get the current row number of the datatable, only the total count.
Thanks,
Chester