Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
sir
i am developing online examination system in that i want to display time in countdown seconds
please send me the code
thanking u sir
Posted

You can use a JavaScript timer to do that.

You can also use the response header to set a refresh interval:
VB
Response.AddHeader("Refresh", 1)
 
Share this answer
 
How about googling "ASP.Net timer". The first result is a pretty good description of an AJAX timer.
 
Share this answer
 
or else u can use ajax timer control to do tat
 
Share this answer
 
Use SetInterval("callServer()", 1000);


From inside the callServer method, call the server and update the server countdown time. Also dont forget to update the time shown in the client control as well.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900