如何在asp.net中进行定时器控制 [英] how to make timer control in asp.net

查看:67
本文介绍了如何在asp.net中进行定时器控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须为我的asp.net竞价应用程序进行计时器控制。我想在几小时内(比如48小时)把时间花在计时器上。计时器的格式应该像这样DD:HH:MM:SS(day-hours-mins-secs)。一旦计时器启动,它就不应像其他竞标网站那样在刷新页面时停止或刷新。我不知道如何实现这个任务... plz help ..

解决方案

你应该使用ajax扩展名中的计时器。


< blockquote>检查以下链接。它使用Ajax。



http: //hemantrautela.blogspot.com/2012/09/timer-ajax-control-cnet-aspnet.html [ ^ ]



http://stackoverflow.com/questions/18267841/ajax-timer-control-in-asp-net -c-sharp [ ^ ]



希望这对你有所帮助。


访问这里帮助你。



http://msdn.microsoft.com/en-us/library/bb386404(v = vs.100).aspx [ ^ ]


i have to make timer control for my asp.net bidding application. i want to pass time to the timer in hours (like 48 hours). Format of the timer should be like this DD:HH:MM:SS (day-hours-mins-secs). And once the timer started, it should not be stopped or refreshed like other bidding sites on refreshing of the page. i have no idea how to achieve this task... plz help..

解决方案

You should use timer from ajax extension.


Check the below links . It uses Ajax .

http://hemantrautela.blogspot.com/2012/09/timer-ajax-control-cnet-aspnet.html[^]

http://stackoverflow.com/questions/18267841/ajax-timer-control-in-asp-net-c-sharp[^]

Hope this is of some help to you .


visit here this will help you.

http://msdn.microsoft.com/en-us/library/bb386404(v=vs.100).aspx[^]


这篇关于如何在asp.net中进行定时器控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆