问题描述
protectedvoidButton1_Click(objectsender,EventArgse){Response.Write("<span>你好</span>");DateTimedt=DateTime.Now.AddSeconds(5);while(DateTime.Now<dt){}Response.Write("成功 ");高手们:如何才能在等待过程中输出“你好”, 等待过了就输出“成功”
时间: 2024-09-21 05:23:02
protectedvoidButton1_Click(objectsender,EventArgse){Response.Write("<span>你好</span>");DateTimedt=DateTime.Now.AddSeconds(5);while(DateTime.Now<dt){}Response.Write("成功 ");高手们:如何才能在等待过程中输出“你好”, 等待过了就输出“成功”