Default.aspx.vb
Partial Class _Default Inherits System.Web.UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = DateTime.Now.ToString() Label2.Text = DateTime.Now.ToString() End Sub Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click Label1.Text = DateTime.Now.ToString() Label2.Text = DateTime.Now.ToString() End Sub End Class
Click the following links to see full source code
C# Source Code
VB.NET Source Code
ASP.NET Ajax - Related Contents