<form id="form1" runat="server">
        
<asp:ScriptManager ID="ScriptManager1" runat="server">
        
</asp:ScriptManager>

        
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
            
<ContentTemplate>
                
<%= DateTime.Now %>
                
<asp:Timer ID="Timer1" runat="server" Interval="1000">
                
</asp:Timer>
            
</ContentTemplate>
        
</asp:UpdatePanel>
    
</form>

还可以设置Timer的OnTick方法,设定的时间一到就会调用这个方法

相关文章:

  • 2021-04-10
  • 2021-07-13
  • 2021-10-28
  • 2022-12-23
  • 2021-10-28
  • 2022-01-11
  • 2022-02-02
猜你喜欢
  • 2021-12-15
  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案