Click here to Skip to main content
15,921,959 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I want to access title from code behind..

I know it's an easy task, but for content page, I am bit confused about how I access the title from code behind to following code:
<%@ Page   Title="" Language="C#" MasterPageFile="~/MasterPages/MasterManageBussiness.Master" ValidateRequest="false" AutoEventWireup="true" CodeBehind="editBusinessProfile.aspx.cs" Inherits="MyApplication.Business.editBusinessProfile"  %>

thanks in advance.
Posted
Updated 19-Dec-10 23:50pm
v3
Comments
Dalek Dave 20-Dec-10 5:50am    
Edited for Readability.

1 solution

VB
Me.Title = "Title name" // VB

this.Title = "Title name" // C#
 
Share this answer
 
Comments
Dalek Dave 20-Dec-10 5:49am    
Ok, good answer, nice and simple.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900