当前位置:首页 > asp.net 2.0里动态访问meta标记

asp.net 2.0里动态访问meta标记

点击次数:884  更新日期:2010-12-26
\n

在asp.net 2.0里,可以支持动态访问meta 标记了,比如可以动态增加关键字了
Private Sub CreateMetaTags()
\n

Dim hm As New HtmlMeta()


\n

Dim head As HtmlHead = CType(Page.Header, HtmlHead)


\n

hm.Name = “Keywords”


\n

hm.Content = “VB.Net, VB.NET, .NET”


\n

head.Controls


\n

来源:网络

\n