I''m using GDBG control for entries, For that i bound a dataSource in my form_load event. I enter some values in that grid and Updated to backend. After updation i re-bound the DataSource again to that grid depends upon other selection cretria. It throws error as "col" does not belongs to that table "Table". How to avoid this error.
ADAdministrator Syncfusion Team July 22, 2004 12:41 AM
Some things to try (one or the other or both).
1) Set the grid''s DataSource and DataMember to null before setting the new DataSource.
2) Try calling grid.Binder.InitializeColumns() after you set the new DataSource.