我正在制作一个拍卖网站。我想为每件物品设置24小时的时钟。时钟时间应该是服务器的时间。如果用户访问该网站,则应显示该项目的剩余时间。我想在ASP.Net中做到这一点。我找不到任何方法去做。
答案 0 :(得分:0)
Create a new page and switch to Design view.
If the page does not already contain a ScriptManager control, in the AJAX Extensions tab of the toolbox, double-click the ScriptManager control to add it to the page.
Timer Control Tutorial Step 1
In the toolbox, double-click the Timer control to add it to the Web page.
Timer Control Tutorial Step 2
plz见本网: http://msdn.microsoft.com/en-us/library/bb386404%28v=vs.100%29.aspx