日期:2010-12-13 浏览次数:20654 次
在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