How can I have multiple command buttons map to the same event or function

Simply use the same handler for the different button Click events. <asp:Button id='Button1' runat='server' Text='Button'></asp:Button> <asp:Button id='Button2' style='Z-INDEX: 103; LEFT: 8px; POSITION: absolute; TOP: 80px' runat='server' Text='Button'></asp:Button> VB.NET Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click, Button2.Click Response.Write('hi you clicked ' + CType(sender, Button).ID) End Sub C# // In InitializeComponent this.Button1.Click += new System.EventHandler(this.Button1_Click); this.Button2.Click += new System.EventHandler(this.Button1_Click); private void Button1_Click(object sender, System.EventArgs e) { Response.Write('hi you clicked ' + ((Button)sender).ID ); }

How to stamp Date-Time on all the pages in an application when requested

Use the global.asax file and listen to the PostRequestHandlerExecute event of the Global object. In the handler Global_PostRequestHandlerExecute write the following code VB.NET Response.Write('This page is updated on ' & DateTime.Now.ToString()) Response.Write('This page is updated on ' + DateTime.Now.ToString());

How to get the Computer Name on which the code is running

This will return the information of the server computer, not the client browser computer. Add reference to System.Windows.Forms.dll. VB.NET Response.Write(System.Windows.Forms.SystemInformation.ComputerName) C# Response.Write(System.Windows.Forms.SystemInformation.ComputerName);