示例#1
0
 protected void bntDelete_Click(object sender, EventArgs e)
 {
     try
     {
         Button bntEdit     = (Button)sender;
         int    Admissionid = Convert.ToInt32(bntEdit.CommandArgument);
         AdmissionOp.DeleteAdmission(Admissionid);
         bindAdmission();
     }
     catch (Exception ex)
     {
         com.Loginsert(HttpContext.Current.Request.Url.AbsolutePath, "bntDelete_Click", ex.StackTrace, ex.Message);
     }
 }