Logo 
Search:

Asp.net Articles

Submit Article
Home » Articles » Asp.net » GeneralRSS Feeds

How to change the Page Title in ASP.Net 1.1 and VB.Net

Posted By: Shruti Sharma     Category: Asp.net     Views: 3424

Example code to change the Page Title in ASP.Net 1.1 and VB.Net

Code for How to change the Page Title in ASP.Net 1.1 and VB.Net in Asp.net

Imports System.Web.UI.HtmlControls

Namespace TestWebApp

    Public Class WebForm1
        Inherits System.Web.UI.Page

        Protected PageTitle As HtmlGenericControl = New HtmlGenericControl()

        Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)

            PageTitle.InnerText = "New Page Title"
        End Sub

    End Class
End Namespace
  
Share: 


Didn't find what you were looking for? Find more on How to change the Page Title in ASP.Net 1.1 and VB.Net Or get search suggestion and latest updates.

Shruti Sharma
Shruti Sharma author of How to change the Page Title in ASP.Net 1.1 and VB.Net is from United States. Shruti Sharma says Hello Everyone,
I am Shruti Sharma from United States
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!