コード例 #1
0
 protected void btnYes_Click(object sender, EventArgs e)
 {
     try
     {
         int rowIndex = Convert.ToInt32(ViewState["unit_id"]);
         context.sp_DeleteRack(companyId, branchId, rowIndex);
         divalert.Visible = true;
         lblAlert.Text    = "Rack Deleted ";
     }
     catch (Exception ex)
     {
         ErrorLog.saveerror(ex);
         //Do Logging
     }
 }