AD
Administrator
Syncfusion Team
August 27, 2004 06:24 PM UTC
A couple of things to try.
You can try calling grid.Binder.InitializeColumns after resetting your datasource.
You could set the grid''s datasource to null, change your dataset, and then reset the datasource.
grid.BeginUpdate();
grid.DataSource = null;
grid.DataSource = myNewDataTable;
grid.EndUpdate();
grid.Refresh();
AD
Administrator
Syncfusion Team
August 28, 2004 02:55 PM UTC
Thanks for the reply Clay.
It turns out that my datasource was incorrect. The grid works fine now.
Mike
>A couple of things to try.
>
>
>You can try calling grid.Binder.InitializeColumns after resetting your datasource.
>
>You could set the grid''s datasource to null, change your dataset, and then reset the datasource.
>
>grid.BeginUpdate();
>grid.DataSource = null;
> grid.DataSource = myNewDataTable;
>grid.EndUpdate();
>grid.Refresh();
>