如何有的话怎么调用,没有的话怎么能装上呢

解决方案 »

  1.   

    有,你是winform还是webform? webform一般最好不用.
      

  2.   

    使用System.Timers.Timer类 
    System.Timers.Timer t = new System.Timers.Timer(10000);//实例化Timer类,设置间隔时间为10000毫秒; 
    t.Elapsed += new System.Timers.ElapsedEventHandler(theout);//到达时间的时候执行事件; 
    t.AutoReset = true;//设置是执行一次(false)还是一直执行(true); 
    t.Enabled = true;//是否执行System.Timers.Timer.Elapsed事件; public void theout(object source, System.Timers.ElapsedEventArgs e) 

    MessageBox.Show("OK!"); 
    }   
      

  3.   

    本身是不带的,但是ajax控件里有一个
    可以搜索一下装上就可以用了
      

  4.   

    楼主在本版问应该指的是webform,如果winform是有Timer类的(还有专门针对多线程的timer类)
    在webform中使用timer去实现局部刷新还是非常好的。
      

  5.   

    webform一般最好不用
    ___
    怎么会,你说个功能我来写写