protected void LinkButton1_Click(object sender, EventArgs e)
 {
     Common_CancelEmployeeLeaveBL objCommon_CancelEmployeeLeaveBL = new Common_CancelEmployeeLeaveBL();
     objCommon_CancelEmployeeLeaveBL.Common_CancelEmployeeLeave(Convert.ToInt32(Session["doctorId"].ToString()), leaveId);
     LinkButton1.Visible = false;
     Label43.Text = "Leave Cancelled";
 }
Esempio n. 2
0
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        Common_CancelEmployeeLeaveBL objCommon_CancelEmployeeLeaveBL = new Common_CancelEmployeeLeaveBL();

        objCommon_CancelEmployeeLeaveBL.Common_CancelEmployeeLeave(Convert.ToInt32(Session["doctorId"].ToString()), leaveId);
        LinkButton1.Visible = false;
        Label43.Text        = "Leave Cancelled";
    }