ASP.NET 中随时向页面输入数据

   if (!IsPostBack)
        {
            for (int i = 0; i < 1000; i++)
            {
                Response.Write("<br>第" + i.ToString() + "条---" + DateTime.Now.ToString());
                Response.Flush();
                Thread.Sleep(1000);

            }
        }

posted on 2011-06-22 20:27  上善若水123  阅读(329)  评论(0编辑  收藏  举报