AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 How to calculate Timing using timer control in (asp.net or ajax)
Posted by srinu on  7/7/2010 5:34:48 AM Category: AJAX
Add to my favorites
Email to friend
hi friends,

please suggest me i developed one online exam project when user writing the there are two options pause and stop when user click on pause option i want to calculate the time within the pause and peek(resume) .

my problem is how to stop the exam and calculate the time within interval.
please help me i need source code.

Post Your Reply Post New Question

 Viewer's Reply
Calculate Time Interval
Answered By Moderator1 on 8/18/2010 12:47:23 AM
Hi,

When user clicks pause button, save the time in database. Same way when they resume the exam again save the time in the database. So you can calculate the time interval between using SQL DateDiff function easily.

When exam is paused you can disable the Next Button or try to disable all the following events.
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
No Nonsense XML Web Development With PHP - Free 146 Page Preview!
When Good HTML Goes Bad: How You Can Protect Your Web Applications
Building a Web Application Security Program