I want to extract the values of the selected row when the delete command is fired.
I am using automatic insert/update/delete using stored procedures.
I want to do something like this - this is what I am doing in my update command.
I am using automatic insert/update/delete using stored procedures.
I want to do something like this - this is what I am doing in my update command.
protected
void RadGrid1_UpdateCommand(object source, GridCommandEventArgs e)
{
Hashtable newValues = new Hashtable();
e.Item.OwnerTableView.ExtractValuesFromItem(newValues, (
GridEditableItem)e.Item);
UpdateTable(tableName, (
string)((GridEditableItem)e.Item).SavedOldValues["Product"], (string)((GridEditableItem)e.Item).SavedOldValues["Description"], (string)newValues["Product"], (string)newValues["Description"]);
RadGrid1.Rebind();
}