ASP.NET2.0 C# 如何在不使用母板也的情况下设置网页的keywords 和description
ASP.NET2.0 C# 如何在不使用母板也的情况下设置网页的keywords 和description
使用母板页的有
调用母版的页面里能用
<title> <%=title%> </title>
<meta content=" <%=keywords%>" name=keywords>
<meta content=" <%=description%>" name=description>
if (!IsPostBack)
{
HtmlMeta tag = new HtmlMeta();
tag.Name = "keywords";
tag.Content = "23434234234";
Header.Controls.Add(tag);
tag = new HtmlMeta();
tag.Name = "Description";
tag.Content = "234234234234";
Header.Controls.Add(tag);
}
请问如何不用母板页的情况下设置网页的keywords 和description
使用母板页的有
调用母版的页面里能用
<title> <%=title%> </title>
<meta content=" <%=keywords%>" name=keywords>
<meta content=" <%=description%>" name=description>
if (!IsPostBack)
{
HtmlMeta tag = new HtmlMeta();
tag.Name = "keywords";
tag.Content = "23434234234";
Header.Controls.Add(tag);
tag = new HtmlMeta();
tag.Name = "Description";
tag.Content = "234234234234";
Header.Controls.Add(tag);
}
请问如何不用母板页的情况下设置网页的keywords 和description
...全文
相关推荐
HtmlHead与HtmlMeta(2.0)
通过Style类以及HtmlMeta类.将样式加入目前页面的Header之中.
[搜索链接]相见欢友情链接系统ASPX版 v1.0_xjlinkaspxv1.0.rar
[搜索链接]相见欢友情链接系统ASPX版 v1.0_xjlinkaspxv1.0.rar
绝世新闻系统 v1.0正式版_aspxos_news10.zip
源码参考,欢迎下载
国央企创新负责人如何进行企业创新综合能力分析?.docx
国央企创新负责人如何进行企业创新综合能力分析?
国央企在开展创新技术攻关时,如何实现技术需求与科研成果的精准匹配?.docx
国央企在开展创新技术攻关时,如何实现技术需求与科研成果的精准匹配?



