中文(繁体)
在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"
headhead. Controls.Add(hm)
End Sub