G
Guest
Hi there,
I have got a problem when adding extra (= dummy) columns to a datagrid.
I have a datagrid that is bound to a datatable. The datatable is filled with data from a SQL Server 2000 database. This data contains a column that is a foreign key to another table. In my datagrid I don't want to display this keyvalue. Instead I want to use this key to get a description out of another table.
I have added an extra column to both the datatable and the datagrid. However if I read the data from the database, I get an errormessage that says that this column does not exist in the table in the database.
What do I have to do to solve this problem? It has to be possible to edit the data and send it back to the database, except for the extra columns.
I have got a problem when adding extra (= dummy) columns to a datagrid.
I have a datagrid that is bound to a datatable. The datatable is filled with data from a SQL Server 2000 database. This data contains a column that is a foreign key to another table. In my datagrid I don't want to display this keyvalue. Instead I want to use this key to get a description out of another table.
I have added an extra column to both the datatable and the datagrid. However if I read the data from the database, I get an errormessage that says that this column does not exist in the table in the database.
What do I have to do to solve this problem? It has to be possible to edit the data and send it back to the database, except for the extra columns.