LAST QUESTION!!!(for now)

liquidspaces

Well-known member
Joined
Nov 19, 2002
Messages
74
Location
Richmond, VA
A huge thank you to all of you guys. Looks like Ill be finishing my first VB.NET project today. My boss is pleased with what he sees so far.

Anyway, my last question is a simple one. I need to display the very last row in a table. Ive scoured my books as well as this forum for the answer, but Ive come up with nothing. It must be something simple...I hope it is anyway.

Once again, thanks for your help. Hopefully the next time Im back here it will be to help with problems instead of creating them.
 
Code:
If MyDataTable.Rows.Count > 0 Then
  TheLastDataRow = MyDataTable.Rows(MyDataTable.Rows.Count - 1)
End If
 
Back
Top