I wanted to show the assembly version number in the title of the screen, this is the best solution I found to do it:
Add the System.Reflection namespace to your using section like this:
using System.Reflection;
And put this code in the page_load
Assembly asm = Assembly.GetExecutingAssembly();
this.Text = this.Text + asm.GetName().Version;