dynamic item counter from SQLServer 2014 in web form for Visual Studio 2015?

后端 未结 1 2020
借酒劲吻你
借酒劲吻你 2021-01-23 22:22

I\'m new to this type of programming (management figures programming is programming... ugh), apologies in advance if my question seems convoluted or basic.

I\'m creating

相关标签:
1条回答
  • 2021-01-23 23:25

    Try following to run code every interval millisecond.

     public static void InitializeTimer()
     {
        var inerval = 3000;
        var timer = new System.Timers.Timer();
        timer.Elapsed += keep_track_of_inventory_being_shipped;
        timer.Interval = inerval;
        timer.Start();
      }
    
      private static void keep_track_of_inventory_being_shipped(object sender, System.Timers.ElapsedEventArgs e)
      {
        //your code here
      }
    
    0 讨论(0)
提交回复
热议问题