asp.net类似于js中的setTimeOut()的函数作用?
插入这行即可,定时2秒,再运行下一步;
System.Threading.Thread.Sleep(2000);
加个随机数
Random ran = new Random(); int RandKey = ran.Next(500, 2000); System.Threading.Thread.Sleep(RandKey);
asp.net类似于js中的setTimeOut()的函数作用?
插入这行即可,定时2秒,再运行下一步;
System.Threading.Thread.Sleep(2000);
加个随机数
Random ran = new Random(); int RandKey = ran.Next(500, 2000); System.Threading.Thread.Sleep(RandKey);