예제 #1
0
    private void GetProduct(int ProductID)
    {
        dt = objProduct.GetAllProduct(ProductID);
        if (dt.Rows.Count > 0)
        {
            litProductDescription.Text = Convert.ToString(dt.Rows[0]["Description"]);

            //  ((HtmlTitle)Master.FindControl("_metaTitle")).Text = dt.Rows[0]["MetaTitle"].ToString();
            //  ((HtmlMeta)Master.FindControl("_metaKeywords")).Attributes.Add("Content", dt.Rows[0]["MetaKeyword"].ToString());
            //  ((HtmlMeta)Master.FindControl("_metaDescription")).Attributes.Add("Content", dt.Rows[0]["MetaDescription"].ToString());
        }
    }