Printer Friendly Version
Email this thread to a friend
|
meta nocache tags (In: Google)
Featured Web Site Template |
|
There are 0 guests and 2 members in the forums right now.
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
1234569891
Joined: Sep 21, 2007
# Posts: 1
|
Posted: 2007-Sep-21 10:14
The following code shows how to add meta tags to a page programmatically.
private void CreateMetaTags()
{
HtmlMeta hm = new HtmlMeta();
HtmlHead head = (HtmlHead)Page.Header;
hm.Name = "Keywords";
hm.Content = "C#, Csharp, C-sharp, .NET";
head.Controls.Add(hm);
}
Similarly, it helps you in adding multiple tags.
[ Message was edited by: JimBot 09/21/2007 04:47 am ... Reason: Link Drop removed ]
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|