I have a datagridview that is populated dynamically to a datatable, when the user clicks on a certain area.
When they click on another area, the datagridview needs to display a completely different table.
The problem is the old table is still in the view and I cannot seem to shift it.
I have tried setting the controller to null, refreshing it, deleting columns. etc.
Any help would be gratefully received.
Fixed: I had dataGridView1.AutoGenerateColumns = false;
the context of your question if incomplete.
do you have some example code?