Find last row by refer column name

@Stef_99 you can directly use the count method.

dt.RowCount-1 will be equals to the ID of last row

dt.ColumnCount-1 will the the ID of last column in your datatable

1 Like