You could declare a property in your page class and then have it
automatically replaced when the databind method of the page is called.
So the Page's property could be declared like so:
private string theTitle;
protected string TheTitle { get { return theTitle; } } //
At some point while processing your page you set the property (using the
private variable) and in your .aspx page you could have
<title><%# TheTitle %></title>