Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to create a stopwatch in asp.net. When I clicked on a button, the timer will start from zero and increase by one second.

ie;

00:01
00:02
00:03
00:04
00:05
00:06

etc

I want to display this in a label and when I clicked on another button, it should have to stop counting.

Please help me to build this.
Posted
Updated 7-Feb-11 23:42pm
v2
Comments
Prerak Patel 8-Feb-11 5:42am    
What is the problem? No efforts!!
JF2015 8-Feb-11 5:42am    
That's quite a basic task - show us what you've tried so far!
kishore Rajendran 8-Feb-11 5:53am    
i know to display current time...
but how we can start from zero?tats only my question

1 solution

 
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