上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: http://stackoverflow.com/questions/956743/howto-create-a-system-linq-expressions-expression-for-likehttp://trentacular.com/2010/08/linq-to-entities-wild-card-like-extension-method/http://www.albahari.com/nutshell/predicatebuilder.aspx6 down vote accepted Something like:static IEnumerable<T> Wh 阅读全文
posted @ 2011-04-20 14:03 永不言败 阅读(1711) 评论(0) 推荐(1) 编辑
摘要: http://www.cnblogs.com/Barton131420/archive/2009/09/04/1560237.htmlhttp://weblogs.asp.net/zeeshanhirani/archive/2008/08/16/single-table-inheritance-in-entity-framework.aspxtruning json into a expand objecthttp://coderjournal.com/2010/07/turning-json-into-a-expandoobject/ 阅读全文
posted @ 2011-03-31 16:47 永不言败 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 核心代码usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Data;usingSystem.Data.OleDb;usingSystem.Threading;usingSystem.Net;usingSystem.IO;usingSystem.Text.RegularExpressions;namespaceConsoleA{classImage{publicstringKey{get;set;}publicstringImageUrl{get;set;}}clas 阅读全文
posted @ 2011-03-18 17:27 永不言败 阅读(708) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/xfrog/archive/2010/12/29/1921134.html mvc2自定义(客户端)验证http://haacked.com/archive/2009/11/19/aspnetmvc2-custom-validation.aspx 阅读全文
posted @ 2011-03-04 17:55 永不言败 阅读(198) 评论(0) 推荐(0) 编辑
摘要: ASP.NET MVC 2 Templateshttp://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-1-introduction.html 阅读全文
posted @ 2010-05-11 10:29 永不言败 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 用httpwebrequest访问一个SSL类型的地址 https://xxxx/ 时,报错 “未能为 SSL/TLS 安全通道建立信任关系(Could not establish trust relationship for the SSL/TLS secure channel)”查了下MSDN,找到了解决方法,SSL网站,连接时需要提供证书,对于非必须提供客户端证书的情... 阅读全文
posted @ 2010-01-27 11:45 永不言败 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: http://nhforge.org/blogs/nhibernate/archive/2009/04/10/nhibernate-mapping-inheritance.aspxNHibernate Mapping – InheritanceI wanted to explore a few options regarding the way we can map inheritan... 阅读全文
posted @ 2010-01-05 17:00 永不言败 阅读(695) 评论(0) 推荐(0) 编辑
摘要: http://using.castleproject.org/display/IoC/Fluent+Registration+APIhttp://developer.51cto.com/art/200907/139983.htmhttp://blog.ploeh.dk/CategoryView,category,CastleWindsor.aspxThis is a scratchpad for documentation on Microkernel's fluent registration API. Please add anything you see fit and when 阅读全文
posted @ 2009-12-09 17:43 永不言败 阅读(3152) 评论(3) 推荐(0) 编辑
摘要: 今天才知道,原来 && 和|| 的返回值是这样计算的 &&首先计算其左边的表达式,如果它的值为false或可被转换为false(null、NaN、0或undefined),那么将返回左边表达式的值,否则,它将计算右边的表达式, 并返回这个表达式结果作为 &&运算的结果。 ||首先计算其左边的表达式,如果它的值不为false或不可被转换为false(n... 阅读全文
posted @ 2009-12-04 11:33 永不言败 阅读(1207) 评论(0) 推荐(0) 编辑
摘要: 运行Demo/Files/genson/event.htmevent.x:设置或者是得到鼠标相对于目标事件的父元素的外边界在x坐标上的位置。 event.clientX:相对于客户区域的x坐标位置,不包括滚动条,就是正文区域。 event.offsetx:设置或者是得到鼠标相对于目标事件的父元素的内边界在x坐标上的位置。 event.screenX:相对于用户屏幕。<table border... 阅读全文
posted @ 2009-12-03 22:21 永不言败 阅读(448) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 14 下一页