if you mean server side Timer in a Page class, as you might know, the page code can be executed in a very short time and most of the time, the event related to the Timer will not executed at all, if you want to see the effect, try to add this line in the Page_Load method (assume your Timer's Interval is less than 2 seconds)System.Threading.Thread.Sleep(2000);if you mean to refresh the page, you should use
Response.AddHeader("refresh","2"); //page is refreshed every 2 secondsor equivalent META tag
Response.AddHeader("refresh","2"); //page is refreshed every 2 secondsor equivalent META tag
是不是始终只有一个Timer起作用?这些代码都是服务器端代码。
学习学习!