find discount viagra online

Friday, October 31, 2014

Add meta data dynamically

December 24, 2009 by · 1 Comment 

Add meta-data dynamically to your page by adding a HtmlMeta control to your Header. In this example I dynamically add a keyword string to the page.

string keyWords = “metatags, html, dynamic, generate”;

HtmlMeta keywords = new HtmlMeta();

keywords.Name = “keywords”;

keywords.Content = keyWords;

Page.Header.Controls.Add(keywords);

Top Blogs

Comments

One Response to “Add meta data dynamically”
  1. Debt Relief says:

    Sorry for my bad english. Thank you so much for your good post. Your post helped me in my college assignment, If you can provide me more details please email me.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

*