asp.net|动态|访问
在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
时间: 2024-08-01 14:18:19