/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
this.Page.Title = dr1["page_title"].ToString(); //keywords keywords.Name = "keywords"; keywords.Content = dr1["site_keywords"].ToString(); Page.Header.Controls.Add(keywords); //description description.Name = "description"; description.Content = dr1["site_description"].ToString(); Page.Header.Controls.Add(description);