コード例 #1
0
        /// <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();
        }