J John Bonds Sep 30, 2003 #1 Is there a way to get just the last DataRows retreived by a data adapter? Thanks, John
W William Ryan Sep 30, 2003 #2 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
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