摘要: conn.open();建立一个SqlCommand sqlcmd=new SqlCommand();sqlcmd.CommandTimeout=180;意思为sqlcmd的超时为3分钟。可根据需要设置,如果过长,也可以设置为0,当此属性设置为0时表示不限制时间。此属性值应该慎用。还需要在Web.config配置文件中设置http请求运行时限间 <system.web><http... 阅读全文
posted @ 2008-06-10 13:07 骚包猪 阅读(1080) 评论(0) 推荐(0) 编辑