B
barry
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim curtime As Date
Do Until Date.Now >= some future date time
curtime = Date.Now
Label1.Text = curtime.ToString("hh:mm:ss:ff")
Loop
End Sub
Not sure how to get label1 to continuously show the change in time in a
webform. If this were windows you can use label1.refresh to give a stopwatch
running effect. Is there an equivalent syntax for asp.net or is javascript
needed?
thanks
System.EventArgs) Handles Button1.Click
Dim curtime As Date
Do Until Date.Now >= some future date time
curtime = Date.Now
Label1.Text = curtime.ToString("hh:mm:ss:ff")
Loop
End Sub
Not sure how to get label1 to continuously show the change in time in a
webform. If this were windows you can use label1.refresh to give a stopwatch
running effect. Is there an equivalent syntax for asp.net or is javascript
needed?
thanks