Have a look at the ASP.NET timer control here:
AJAX: Timer control[
^]
Further, lots of your classmates(probably!) have already asked, discussed about timer control in the online examination project. Use the CodeProject search to find them and have a look if needed.