摘要: 东西比较简单,大家一看就明白,不多做解释,直接上代码public static class LinqExtend { public static IQueryable WhereIn(this IQueryable source, IEnumerable source2, Expression> keySelector) { Expression inExpression = GetInExpression(source2, keySelector); return source.Where(E... 阅读全文
posted @ 2013-09-15 10:54 @宋@ 阅读(955) 评论(0) 推荐(0)
摘要: 今天看了下elfinder,从网上找到了开源代码,打开部署到iis7.5上,运行正常,了解了下基本功能和后台代码,部署时忽略了程序池模式,选择的集成模式,framework 4.0。但项目中用的是经典模式准备迁移进项目时发现问题,换成经典模式显示连接不到后台程序错误,即HTTP Handlers注册未成功,从网上照了N多资料,现记录如下To register an HTTP handler for IIS6.0 To register an HTTP handler for IIS7.0 running in Classic mode ... 阅读全文
posted @ 2013-08-06 18:42 @宋@ 阅读(919) 评论(0) 推荐(0)
摘要: 今天在在Chrome中访问http://Localhost:87网站时 ,chrome报以下错误:Google Chrome 浏览器 错误 312 (net::ERR_UNSAFE_PORT):未知错误。网站找到的错误解决方案:http://www.cnblogs.com/ivanyb/archive/2011/12/24/2300374.html因为87端口为私有端口,我将端口改为其他的就可以正常访问了。有兴趣的同学可以可以了解下关于网络端口的知识,这是其中一篇:http://bbs.51cto.com/topic/thread-1720.html 阅读全文
posted @ 2013-02-26 09:43 @宋@ 阅读(413) 评论(0) 推荐(0)
摘要: activity_main.xml<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" > <TextView android:id="@+id/text_vie 阅读全文
posted @ 2012-08-29 13:57 @宋@ 阅读(454) 评论(0) 推荐(0)