在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
1、asp.net 1.1
1using System.Web.UI;
2using System.Web.UI.WebControls; 3using System.Web.UI.WebControls.WebParts; 4using System.Web.UI.HtmlControls; 5using System.Threading; 6public partial class Default2 : System.Web.UI.Page 7} 2、asp.net 2.0
1using System;
2using System.Data; 3using System.Configuration; 4using System.Web; 5using System.Web.Security; 6using System.Web.UI; 7using System.Web.UI.WebControls; 8using System.Web.UI.WebControls.WebParts; 9using System.Web.UI.HtmlControls; 10using System.Threading; 11public partial class _Default : System.Web.UI.Page 12 AsyncDelegateGetDataSet(); 在asp.net2.0的代码中采用了异步页,实现效率提高了。但是有一点不明白,一定要循环3次以上(while(i<3))前台才会显示“正在读取数据请稍候...”. |
请发表评论