2

I have a Form and a CountDown Timer .I have some problems :

  1. How can I display a CountDown Timer as : Hour : Minute : Second in asp.net mvc . When CountDown Timer (Hour=00 , Minute=00 , Second=00) , Form auto submit data.
  2. I have a Table in SQL with 2 columns : Name (nvarchar(250)) ; Minute (int). How can I load column Minute to CountDown Timer from SQL?

Hope , Everyone can help me! Thanks

Quan Truong
  • 85
  • 1
  • 1
  • 5
  • the answers in this [question](http://stackoverflow.com/questions/3023424/the-best-way-to-refresh-my-aspx-site-with-a-timer-in-c) may help. – richaux Apr 05 '11 at 11:24

1 Answers1

3

You could use a jquery plugin for this. There are many out there. Here's one you could use. It has callbacks like for example onExpiry which is triggered when the timer reaches zero so that you could submit the form.

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928