I am using the following code,
vb Code:
Partial Class _Default Inherits System.Web.UI.Page Public count As Integer = 0 Protected Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick count += 1 Label1.Text = "You clicked the button " & count.ToString & " times!" End Sub End Class
however, all the page ever displays is "You clicked the button 1 times"


Reply With Quote


