Assign value to browser title bar (C#)
<%@ Page Language="C#" %> <script runat="server"> void Page_Load() { ltlTitle.Text = DateTime.Now.ToString("D"); } </script> <html> <head> <title><asp:Literal id="ltlTitle" Runat="Server" /></title> </head> <body> <form id="form1" runat="server"> <div> <h1>Look in the title bar</h1> </div> </form> </body> </html>