Exemplo n.º 1
0
 protected void btnYes_Click(object sender, EventArgs e)
 {
     try
     {
         int godown_id = Convert.ToInt32(ViewState["unit_id"]);
         context.sp_DeleteGodown(companyId, branchId, godown_id);
         divalert.Visible = true;
         lblAlert.Text    = "Godown Deleted ";
     }
     catch (Exception ex)
     {
         ErrorLog.saveerror(ex);
         //Do Logging
     }
 }