摘要: 配置线程池 @Configuration @EnableAsync public class AsyncConfiguration { @Bean("doSomethingExecutor") public Executor doSomethingExecutor() { ThreadPoolTas 阅读全文
posted @ 2022-07-01 09:55 wiphom.bear 阅读(137) 评论(0) 推荐(0)
摘要: public class PageBase:System.Web.UI.Page { /// /// 重写页面第一次加载事件 /// /// protected override void OnPreInit(E... 阅读全文
posted @ 2014-04-13 23:19 wiphom.bear 阅读(453) 评论(0) 推荐(0)
摘要: public void test() { SqlParameter[] para = new SqlParameter[2]; para[0] = new SqlParameter("@typ", 1); para[1] = new SqlParameter("@sc",SqlDbType.Int,0,ParameterDirection.Output,true,new byte(),new byte(),"",DataRowVersion.Default,0); var e1 = WContext.D... 阅读全文
posted @ 2014-04-09 00:32 wiphom.bear 阅读(185) 评论(0) 推荐(0)
摘要: http://files.cnblogs.com/sunyanjun/SqlHelper.ziphttp://files.cnblogs.com/wiphombear/%E5%8E%8B%E7%BC%A9EF4.ziphttp://files.cnblogs.com/wiphombear/cache... 阅读全文
posted @ 2014-01-14 22:10 wiphom.bear 阅读(144) 评论(0) 推荐(0)
摘要: 配置相关 登录代码 public void Logining() { var name = Request.Form["name"]; var pwd = Request.Form["pwd"]; BLLUser us = new BLLUser(); var ishave = us.IsHaveUser(name, pwd); if (ishave != null) { //添加身份验证 ... 阅读全文
posted @ 2014-01-14 00:04 wiphom.bear 阅读(270) 评论(0) 推荐(0)
摘要: 一、FormsAthentication 登录验证 webform二、FormsAthentication 登陆验证 MVC4二、cache 缓存登录验证三、 单点登录验证 阅读全文
posted @ 2014-01-14 00:00 wiphom.bear 阅读(260) 评论(0) 推荐(0)