J
James Goodman
I have a form with three controls, a button and a datagrid.
The grid is bound to a dataset table.
When the button is pressed, a new row is added to the dataset table.
The datagrid table contains 3 int columns, plus an identity column. 2 of
these int columns are FK's to lookup tables.
In the SQL for the table I used an inner join to the lookup tables so grid
becomes populated with the data I want them to see (i.e. text not numbers).
When I insert the new row, because the row is uncomitted, the text columns
display as null. Once the new rows are comitted they display as expected.
I can understand why this happens, but are there any simple workarounds for
this, so I can display the data I want?
The grid is bound to a dataset table.
When the button is pressed, a new row is added to the dataset table.
The datagrid table contains 3 int columns, plus an identity column. 2 of
these int columns are FK's to lookup tables.
In the SQL for the table I used an inner join to the lookup tables so grid
becomes populated with the data I want them to see (i.e. text not numbers).
When I insert the new row, because the row is uncomitted, the text columns
display as null. Once the new rows are comitted they display as expected.
I can understand why this happens, but are there any simple workarounds for
this, so I can display the data I want?