示例#1
0
 /// <summary>
 /// Handles the UniGrid's OnAction event.
 /// </summary>
 /// <param name="actionName">Name of item (button) that throws event</param>
 /// <param name="actionArgument">ID (value of Primary key) of corresponding data row</param>
 protected void uniGrid_OnAction(string actionName, object actionArgument)
 {
     if (actionName == "delete")
     {
         // delete ExportHistoryInfo object from database
         ExportHistoryInfoProvider.DeleteExportHistoryInfo(Convert.ToInt32(actionArgument));
     }
 }