We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Error - Column does not belongs to the Table.

Hi 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. Regards Chandru.

1 Reply

AD Administrator Syncfusion Team July 22, 2004 04:41 AM UTC

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. http://www.syncfusion.com/Support/article.aspx?id=10419 2) Try calling grid.Binder.InitializeColumns() after you set the new DataSource.

Loader.
Up arrow icon