/// <summary>
        /// Load Content detail
        /// </summary>
        protected void LoadContentDetail()
        {
            var ds = _cm.FetchContent(int.Parse(Request.QueryString["cid"]));

            if (ds.Tables[0].Rows.Count > 0)
            {
                Title = ds.Tables[0].Rows[0]["contentTitle"].ToString() + " - ITM College";
            }
            ContentView.DataSource = ds;
            ContentView.DataBind();
        }
        //Load content detail to ContentUpdate page from contentID
        protected void LoadContentDetail()
        {
            int     contentID = int.Parse(Request.QueryString["contentID"].ToString());
            DataSet ds        = _content.FetchContent(contentID);

            txtID.Text                 = ds.Tables[0].Rows[0]["contentID"].ToString();
            txtID.ReadOnly             = true;
            txtID.Enabled              = false;
            txtTitle.Text              = ds.Tables[0].Rows[0]["contentTitle"].ToString();
            contentImage.ImageUrl      = "../Images/News/" + ds.Tables[0].Rows[0]["contentImage"].ToString();
            listCategory.SelectedValue = ds.Tables[0].Rows[0]["contentCategory"].ToString();
            txtText.Text               = HttpUtility.HtmlDecode(ds.Tables[0].Rows[0]["contentText"].ToString());
        }
        //Display ID and Title of content to be deleted at 1st Page_Load
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                try
                {
                    if (!_auth.IsStaff(Session["role"].ToString()))
                    {
                        Page.ClientScript.RegisterClientScriptBlock(GetType(), "alert", "alert('You do not have permission to use this function. Please login to continue');document.location.href='Login.aspx';", true);
                    }
                }
                catch (Exception)
                {
                    Page.ClientScript.RegisterClientScriptBlock(GetType(), "alert", "alert('You do not have permission to use this function. Please login to continue');document.location.href='Login.aspx';", true);
                }

                DataSet ds = content.FetchContent(int.Parse(Request.QueryString["contentID"].ToString()));
                lblContentID.Text    = ds.Tables[0].Rows[0]["contentID"].ToString();
                lblContentTitle.Text = ds.Tables[0].Rows[0]["contentTitle"].ToString();
            }
        }