2012年3月19日
摘要: 1.多行单列 wm_concat(列) 阅读全文
posted @ 2012-03-19 09:28 loonnet 阅读(108) 评论(0) 推荐(0) 编辑
  2011年12月23日
摘要: /// <summary> /// 穿过代理服务器获取真实IP /// </summary> /// <returns></returns> public string AcceptTrueIP() { string user_IP = null; if (HttpContext.Current.Request.ServerVariables["HTTP_VIA"] != null) { user_IP = HttpContext.Current.Request.ServerVariables["HTTP_X_FOR 阅读全文
posted @ 2011-12-23 14:57 loonnet 阅读(2493) 评论(0) 推荐(0) 编辑
  2011年10月27日
摘要: 是先装iis 在装framework 2.0只要重新注册 下framework2.0就可以了sC:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -r 阅读全文
posted @ 2011-10-27 15:22 loonnet 阅读(136) 评论(0) 推荐(0) 编辑
  2011年10月26日
摘要: 对比区别: select * from TTable1 for update 锁定表的所有行,只能读不能写 2 select * from TTable1 where pkid = 1 for update 只锁定pkid=1的行 3 select * from Table1 a join Table2 b on a.pkid=b.pkid for update 锁定两个表的所有记录 4 select * from Table1 a join Table2 b on a.pkid=b.pkid where a.pkid = 10 for update 锁定两个表的中满足条件的行 5.... 阅读全文
posted @ 2011-10-26 22:52 loonnet 阅读(2523) 评论(0) 推荐(0) 编辑
摘要: 创建型模式 1、FACTORY—追MM少不了请吃饭了,麦当劳的鸡翅和肯德基的鸡翅都是MM爱吃的东西,虽然口味有所不同,但不管你带MM去麦当劳或肯德基,只管向服务员说“来四个鸡翅”就行了。麦当劳和肯德基就是生产鸡翅的Factory 工厂模式:客户类和工厂类分开。消费者任何时候需要某种产品,只需向工厂请求即可。消费者无须修改就可以接纳新产品。缺点是当产品修改时,工厂类也要做相应的修改。如:如何创建及如何向客户端提供。 2、BUILDER—MM最爱听的就是“我爱你”这句话了,见到不同地方的MM,要能够用她们的方言跟她说这句话哦,我有一个多种语言翻译机,上面每种语言都有一个按键,见到MM我只要按对应的 阅读全文
posted @ 2011-10-26 15:28 loonnet 阅读(168) 评论(0) 推荐(0) 编辑
  2011年10月25日
摘要: 我的电脑右击--》点击管理--》点击服务和应用程序-->服务 --》》选择 oraclepradb10g_home1 tnslistenter 右击启用 阅读全文
posted @ 2011-10-25 15:17 loonnet 阅读(180) 评论(0) 推荐(1) 编辑
  2011年10月18日
摘要: 安装vs 时 出现“suite integration toolkit executable 已停止工作” 错误 是镜像光驱的问题 推荐用 PowerISO 4.8 阅读全文
posted @ 2011-10-18 15:13 loonnet 阅读(3214) 评论(1) 推荐(1) 编辑
  2011年10月14日
摘要: 原因是webconfig配置错误或是相关dll没有的问题,在webconfig 里加入下面这段配置信息就行了 <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Vers 阅读全文
posted @ 2011-10-14 10:15 loonnet 阅读(454) 评论(0) 推荐(0) 编辑