Till now, i have :
In .ASPX page,
And, in C# back-end code :
int counter = 60;
protected void Timer1_Tick(object sender, EventArgs e)
{
if(counter!=0)
{
counter--;
timer.Text = "00:" + counter.ToString();
}
}
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dipankar BiswasPosted Aug 4, 2014, 2:26 PM
try it..
Abhishek Kumar RaviPosted Aug 4, 2014, 7:22 PM
Abhishek Kumar RaviPosted Aug 4, 2014, 7:20 PM
protected void Timer1_Tick(object sender, EventArgs e)
{
if(counter!=0)
{
counter--;
timer.Text = "00:" + counter.ToString();
}
else {
// Change Question & Check Your Answer
}
}
Abhishek Kumar RaviPosted Aug 4, 2014, 1:50 PM
Dipankar BiswasPosted Aug 4, 2014, 7:55 AM
and aspx.cs code:
Thanks
Dipankar Biswas
Akhil KharePosted Aug 4, 2014, 7:43 AM