protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            UserBO ob = new UserBO();
            ob.coursecode = Session["selectedGrid"].ToString();

            clsBLL obj = new clsBLL();

            List <string> ListofDet = obj.CourseDetailsPageBLL(ob);

            Editor.Visible  = false;
            Viewer.Visible  = true;
            Deleted.Visible = false;

            CourseCodeDet.Text        = ListofDet[0].ToString();
            CourseDescriptionDet.Text = ListofDet[1].ToString();
            descriptionmodified       = CourseDescriptionDet.Text;
            SkillNameDet.Text         = ListofDet[2].ToString();
            skillmodified             = SkillNameDet.Text;
            CourseDateDet.Text        = ListofDet[3].ToString();
            CourseTimeDet.Text        = ListofDet[4].ToString();
            CourseAddedByDet.Text     = ListofDet[5].ToString();
            OtherReferencesDet.Text   = ListofDet[6].ToString();
        }
        catch
        {
            Response.Redirect("LoginPage.aspx");
        }
    }