Find last row by refer column name

@Stef_99

if you need last column name then try this

dt.Columns(dt.ColumnCount-1).ColumnName will give the last column name

if you mean the index when you say ID then dt.ColumnCount-1 will give it

cheers