摘要: System.Web.HttpContext.Current.Session的值为null的解决方案: 1.在自定义 HTTP 处理程序中实现 IRequiresSessionState 接口 2.在自定义的WebMethod上增加[WebMethod(EnableSession=true)]这句话 阅读全文
posted @ 2020-06-10 17:55 paulscholes007 阅读(409) 评论(0) 推荐(0)
摘要: 效果如图所示: 代码如下: 1 private void button7_Click(object sender, EventArgs e) 2 { 3 Thread t0 = new Thread(PrintNumbersThree0);//打印线程0 4 Thread t1 = new Thre 阅读全文
posted @ 2020-03-29 13:21 paulscholes007 阅读(394) 评论(1) 推荐(0)