I want to add Meta tag in following code where i put up

<%@ Page Language="C#" MasterPageFile=" " AutoEventWireup="true" EnableEventValidation="false" ValidateRequest="false"

    CodeFile=" " Inherits=" " Title=" " %>

You have put meta tags between <Head> elements like below

<head>
<meta name="description" content="Free Web tutorials" />
<meta name="keywords" content="HTML,CSS,XML,JavaScript" />
<meta name="author" content="Hege Refsnes" />
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
</head>

Refer this link : http://www.w3schools.com/tags/tag_meta.asp

To programattically add to your page

// Render: <meta name="keywords" content="Some words listed here" />
HtmlMeta meta = new HtmlMeta();
meta.Name = "keywords";
meta.Content = "Some words listed here";
this.Header.Controls.Add(meta);

Refer: http://ryanfarley.com/blog/archive/2006/03/25/18992.aspx

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.