Partial Class Profile Inherits System.Web.UI.Page Protected Overrides Sub OnPreRender(ByVal e As System.EventArgs) 'Display the email address from the profile in the label Label1.Text = Profile.Email End Sub End Class