Example #1
0
 protected void btnDeleteStudent_Click(object sender, EventArgs e)
 {
     try
     {
         int StudentUploadId = Convert.ToInt32(hdnDeleteId.Value);//Convert.ToInt32(((Button)sender).CommandArgument.ToString());
         objStudent.DeleteStudentUpload(StudentUploadId);
         ClientScript.RegisterStartupScript(this.GetType(), "Popup", "successDelete();", true);
         //grdStudentDetails.PageIndex = e.NewPageIndex;
         _BindGrid();
     }
     catch (Exception)
     { }
 }