dynamic meta tag

G

Guoqi Zheng

Dear sir,

I would like to generate meta tag for search engine dynamically... Can some
one tell me how to achieve this... Any code example?


--
Kind regards

Guoqi Zheng
guoqi AT meetholland dot com
Http://www.meetholland.com
 
T

Teemu Keiski

Hi,

put

<meta runat="server" ID="myMeta" />

at the header of the page. Then you could access the META tag server-side
via it's ID. As a type for the member 'MyMeta' you could use
HtmlGenericControl (or just HtmlControl).

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke


Dear sir,

I would like to generate meta tag for search engine dynamically... Can some
one tell me how to achieve this... Any code example?


--
Kind regards

Guoqi Zheng
guoqi AT meetholland dot com
Http://www.meetholland.com
 
Joined
May 16, 2006
Messages
1
Reaction score
0
In plain English, what do I need to add to the head tags of http://google-articles.com/index.htm to make dynamic meta tags for this site?

...................................................................................................

Teemu Keiski said:
Hi,

put

<meta runat="server" ID="myMeta" />

at the header of the page. Then you could access the META tag server-side
via it's ID. As a type for the member 'MyMeta' you could use
HtmlGenericControl (or just HtmlControl).

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke


"Guoqi Zheng" <[email protected]> wrote in message
news:%[email protected]...
Dear sir,

I would like to generate meta tag for search engine dynamically... Can some
one tell me how to achieve this... Any code example?


--
Kind regards

Guoqi Zheng
guoqi AT meetholland dot com
Http://www.meetholland.com
:egg: :egg:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top