Beispiel #1
0
 protected void grvlist_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     try
     {
         if (e.CommandName == "DeleteRow")
         {
             int rowIndex = Convert.ToInt32(e.CommandArgument);
             context.sp_DeletePMode(companyId, branchId, rowIndex);
             loadDataTable();
         }
     }
     catch (Exception ex)
     {
         ErrorLog.saveerror(ex);
         //Do Logging
     }
 }