Column ''column_name'' not part of table.

Every now and then I get an exception thrown when I try to bind my datasource to my datagrid that reads, "Column ''column_name'' not part of ''table_name'' table." This was happening a lot the other day, and I was verifying the DataTable contained the column before binding the data. I was getting the error again and I opened my Grid Bound Column collection editor, didn''t change any properties, and now I can not reproduce the error. I''m looking through the issues, but I couldn''t find anything similar except that I do have 3 Syncfusion Data Bound Grids on the same form (on different tabs). Any help on possible causes, and why this error seems to pop up. Thanks, Todd

1 Reply

AD Administrator Syncfusion Team August 31, 2004 01:32 PM UTC

I am not sure. If you are rebinding to an existing grid that has had a previously set datasource, you might try explicitly setting the grid.DataSource and grid.DataMember to null before you set the new DataSource to see if that avoids this problem.

Loader.
Up arrow icon