I have a datagridview with a DataTable as Datasource.
One value in the select-Statement is build like this: value1 + '|' + value2 as value.
I use the values for different things: First value is the string to be shown, based on the second value i set the background-color of the cell... (works fine with the paint method of the cell).
Now I have a form which is shown by the onMouseClick-Event. From here i can set new values and write them back to the DB, and then i want to set the new value to the current Cell to redraw the cell with the new value, but its readonly. I don't need to save the value from here to the db, its already done.
If your answer includes virtual mode, please remember that i have to call a form to edit data. (I have looked at this, but i don't know if this is really that what i want. )
phil