I suspect that that code isn't being executed, or isn't affecting the tables you think it is:
Dt = new datatable(table name)
Dt. Rows. Clear()
Dt. Columns. Clear()
Dt. Reset()
The last three lines are irrelevant, as the DataTable is already completely empty as it has been replaced with a brand new, empty DataTable which has no rows or columns.
It can have no data at all!
So start with the debugger and make sure it is executed. Then check that Dt isn't a local variable or a parameter to a method - because if it is, that won't affect the outside world at all.