Last Rows Retreived by a DataAdapter

  • Thread starter Thread starter John Bonds
  • Start date Start date
J

John Bonds

Is there a way to get just the last DataRows retreived by a data adapter?

Thanks,

John
 
I'm not sure the your implementation, but you can reference it by
myDataTable.Rows(myDataTable.Rows.Count-1)

This will reference the last row of a Datatable, so you'd need to reference
the Table specifically returned by your specific data adapter.

If you are using a BindingManager/BindingContext you could set the
bmb.Position = bmb.Count-1

If neither of these get you what you want, let me know the context and
hopefully I can be more helpful.

HTH,

Bill
 
Back
Top