Hi there,
I want to create a datatable but however i wan to find the last row so i can read it and store it as datatable. With that i need values from a specific column the first and last row. How to achieve it?
Hi there,
I want to create a datatable but however i wan to find the last row so i can read it and store it as datatable. With that i need values from a specific column the first and last row. How to achieve it?
firstValue = DT.AsEnumerable().First()(DT.Columns("ColumnName")).ToString()
lastValue = DT.AsEnumerable().Last()(DT.Columns("ColumnName")).ToString()
Regards,