What have you tried ? I would just try to use Columns.Clear to clear current
columns and set the datasource again so that the grid creates new columns
(check that AutoGenerateColumns is true)...

Signature
Patrice
> Hello,
> is it possible to make DataGridView add or remove columns automatically
[quoted text clipped - 6 lines]
> Regards
> nvx
nvx - 07 Jul 2006 10:18 GMT
Patrice, thank you very much. This seems to work as I expected... :)
Have a nice day...
Regards
nvx
Patrice napsal:
> What have you tried ? I would just try to use Columns.Clear to clear current
> columns and set the datasource again so that the grid creates new columns
[quoted text clipped - 13 lines]
> > Regards
> > nvx