protected void UpdateCourse_Click(object sender, EventArgs e)
    {
        UserBO ob4 = new UserBO();

        ob4.userid = Session["User"].ToString();

        ob4.coursecodetobechanged = CourseCodeDet.Text;

        if (CourseInsert.Text.Trim() == null || CourseInsert.Text.Trim() == "")
        {
            Response.Write("<script>alert('There is Something Wrong!!!');</script>");
            Server.Transfer("AdminCourseDetails.aspx");
        }

        if (CourseDescriptionInsert.Text.Trim() == null || CourseDescriptionInsert.Text.Trim() == "")
        {
            CourseDescriptionInsert.Text = descriptionmodified;
        }

        ob4.coursecode        = CourseInsert.Text;
        ob4.coursedescription = CourseDescriptionInsert.Text;
        ob4.skillName         = skillmodified;

        ob4.coursedate = DateTime.Today.ToString("dd-MM-yyyy");
        ob4.coursetime = DateTime.Now.ToString("HH:mm:ss");

        ob4.otherreference = OtherReferenceInsert.Text;


        clsBLL ob5 = new clsBLL();

        ob4.courseaddedby = ob5.firstnamerBLL(ob4.userid);


        int response = ob5.CourseUpdateBLL(ob4);

        if (response == 1)
        {
            Response.Write("<script>alert('Done Man!!!');</script>"); Server.Transfer("AdminMainPage.aspx");
        }
        else
        {
            Response.Write("<script>alert('Oops Man!!!');</script>");
        }
    }