Answer: We can again initialize datatable,then it will reset.
For Example:-Suppose i have dt_employee DataTable,so to reset it
i will create new object as
dt_employee = new DataTable();
Otherway we can do is to use DataTable Reset() method ti achieve the same.
For Example:-
dt_employee.Reset();
Asked In: Many Interviews |
Alert Moderator