Get the number of rows in the datatable using the "count" method. Then delete the last record using the "Delete" method.
Code:Dim count = datatable.rows.Count If count > 0 Then datatable.rows(count-1).Delete End If
|
Results 1 to 4 of 4
Threaded View
|
Click Here to Expand Forum to Full Width |