Hi,
I set up some columns in a DataGridView.
I fill the DataGridView with some records by executing an sql-select statement .. so far so good
Afterwards I clear the DataGridView using :
((DataView)dataGridView1.DataSource).Table.Clear()
.... all records are deleted indeed BUT the setup of the columns as well.
meaning that when I refill the DataGridView will the order of the columns be like that determined by the sql-select statement
How do I just empty the DataGridView by keeping the structure of the columns intact ?
thanks
Chris