<TITLE id='Title1' runat =server ></TITLE>
VB.NET
’Declare
Protected WithEvents Title1 As System.Web.UI.HtmlControls.HtmlGenericControl
’In Page_Load
Title1.InnerText ='Page 1'
C#
//Declare
protected System.Web.UI.HtmlControls.HtmlGenericControl Title1 ;
//In Page_Load
Title1.InnerText ='Page 1' ;
Share with