current time shows on web form
Does anybody know how to make the current time shows on the web form (WebForm1.aspx)?
I have tried the following code: label1.text = TimeofDay. And it did show on the form "example: 9:50:52 PM", but it stays the same and will not show the new time until the form reloads again. In other words, the time is not alive. I'd like to see the second interval ticking.
any idea, anyone?
P.S: Time function (Label1.Caption = Time) will not work on the web form, it only works on VB6 desktop app.
Thanks.