I have a gridview that is supposed to refresh using
gridView.DataSource = null;
gridView.DataBind();
before binding it to the updated datasource (which is a DataTable).
and then
gridView.DataSource = newDataTable;
gridView.DataBind();
The problem is that it won't clear and from time to time I get a table on top of another table (the one on top is the updated one, the bottom one is the data before the 2nd DataBind).
Appreciate your help!