Return to Snippet

Revision: 11037
at January 21, 2009 08:28 by leonbda


Initial Code
this.Page.Title = dr1["page_title"].ToString();

            //keywords
            HtmlMeta keywords = new HtmlMeta();
            keywords.Name = "keywords";
            keywords.Content = dr1["site_keywords"].ToString();
            Page.Header.Controls.Add(keywords);

            //description
            HtmlMeta description = new HtmlMeta();
            description.Name = "description";
            description.Content = dr1["site_description"].ToString();
            Page.Header.Controls.Add(description);

Initial URL

                                

Initial Description

                                

Initial Title
Page header - Dinammically place meta tags and title in header

Initial Tags
header

Initial Language
C#