I have an app that you double click on a row in a grid and it brings up an editor to enter/edit date and time worked. The grid is populated via a generic list as it's datasource. After the user edits the time and closes the form, the code to refresh the time cell in the orginal grid does not update. Below is one of the code samples I have tried.
ultraGrid1.ActiveRow.Cells[7].Activation = Activation.AllowEdit;
ultraGrid1.ActiveRow.Cells[7].Activate();
ultraGrid1.ActiveRow.Cells[7].Value = row.TimeSpan.ToString();
What am I missing?
What is the data type of column you want to update?
I tried to assign string value to the string type column and Datetime value to Datetime type using your code and it worked fine.
But when you assign string to datetime type column it gives error.
The datatype of the column is a string and the datatype of value going in is a string. I do not get an error, it just does not update the value. Very strange.