asp.net 2.0里动态访问meta标记
2006-11-24 17:18:30 来源:WEB开发网核心提示:在asp.net 2.0里,可以支持动态访问meta 标记了,asp.net 2.0里动态访问meta标记,比如可以动态增加关键字了PRivate Sub CreateMetaTags() Dim hm As New HtmlMeta() Dim head As HtmlHead = CType(Page.Heade
在asp.net 2.0里,可以支持动态访问meta 标记了,比如可以动态增加关键字了
PRivate Sub CreateMetaTags()
Dim hm As New HtmlMeta()
Dim head As HtmlHead = CType(Page.Header, HtmlHead)
hm.Name = "KeyWords"
hm.Content = "VB.Net, VB.NET, .NET"
head.Controls.Add(hm)
End Sub
更多精彩
赞助商链接