中文(简体)
在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