定义:
Protected MyPageTitle As New HtmlGenericControl()
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not Page.IsPostBack Then
MyPageTitle.InnerText = "mytiele"
End If
End Sub
在html中
HTML>
<HEAD>
<title id="MyPageTitle" runat=server ></title>