Hello,
I am using the ExtractValues method in my UpdateCommand method to retrieve a mapping of column names to values from an edited row. However, when I edit a row, the value mapped to its column stays the same in the hashtable, as well as in the grid. What could be the possible explanations for this?
I am using the ExtractValues method in my UpdateCommand method to retrieve a mapping of column names to values from an edited row. However, when I edit a row, the value mapped to its column stays the same in the hashtable, as well as in the grid. What could be the possible explanations for this?
protected
void
GrdConfig_UpdateCommand(
object
sender, GridCommandEventArgs e)
{
Hashtable newValues =
new
Hashtable();
((GridEditableItem)e.Item).ExtractValues(newValues);
Alert.Show(newValues[
"ColumnName"
].ToString());
...
Working SQL code
...
}