I can clear the content of the datagridview by clearing the dataset
Then reset the datasource
datagridview.datasource = ds.Tables;
Now I will do a select statement that has different columns from the current datagridview.
What happens is, the column from the previous datasource is still intact. As if the clearing property is just to clear the content of the dataset but not the table itself, so the headers are still present.
How could I do a full reset of dataset or maybe the gridview ?