Unwanted duplicated columns in DataView

  • Thread starter Thread starter claucometa
  • Start date Start date
C

claucometa

I placed a DataGridView in the form and configured it to have 3
columns A, B and C (all in design mode).

After that, I did through code a DataTable also with 3 columns, A, B,
and C.

When I assign the source (dataTable) to the dataGridView instance, my
dataGridView instance has its columns duplicated. How can I use the
columns already created in the form instead adding new ones?
 
Back
Top