Triggor

Follow My Heart
  博客园  :: 首页  :: 新随笔  :: 订阅 订阅  :: 管理

2017年2月6日

摘要: string assemblyName = ConfigurationSettings["BuilderAssembly"]; string builderName = ConfigurationSettings["BuilderClass"]; Assembly assembly = Assembly.Load(assemblyName); Type t = assembly.GetTyp... 阅读全文

posted @ 2017-02-06 11:43 triggor 阅读(89) 评论(0) 推荐(0) 编辑

2016年7月7日

摘要: 指定的值不是类型“Edm.Int32”的实例参数名: value 说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.ArgumentException: 指定的值不是类型“Edm.Int32 阅读全文

posted @ 2016-07-07 15:36 triggor 阅读(234) 评论(0) 推荐(0) 编辑

2016年6月2日

摘要: 1、直接把<script>放到html代码后面,不要放到@section里面。 2、使用代理。如下所示: 阅读全文

posted @ 2016-06-02 09:19 triggor 阅读(729) 评论(0) 推荐(0) 编辑

2015年3月4日

摘要: 原文地址:http://www.w3school.com.cn/aspnet/mvc_publish.asp学习如何在不使用 Visual Web Developer 的情况下发布 MVC 应用程序。在不使用 Visual Web Developer 的情况下发布您的应用程序通过在 WebMatri... 阅读全文

posted @ 2015-03-04 17:03 triggor 阅读(226) 评论(0) 推荐(0) 编辑

2013年5月27日

摘要: Array没有indexOf方法,这样在一个数组中查找某个元素的索引时比较麻烦,为了调用方便,于是通过prototype原型扩展了Array.prototype.indexOf(),这样用起来就比较方便了。但是这个自定义的indexOf在对数组进行遍历的时候却出现了问题。 Array没有indexOf方法,这样在一个数组中查找某个元素的索引时比较麻烦,为了调用方便,于是通过prototype原型扩展了Array.prototype.indexOf(),这样用起来就比较方便了。Array.prototype.indexOf = function(item) { for (var i = 0; i 阅读全文

posted @ 2013-05-27 21:52 triggor 阅读(798) 评论(0) 推荐(1) 编辑

2012年7月17日

摘要: 原文地址:http://msdn.microsoft.com/en-us/data/ee712907IntroductionThe articles on this page will help you get started with the current version of Entity Framework. You can also check out Past Versions of Entity Framework.Entity Framework has three developer workflows to help you access data in your appl 阅读全文

posted @ 2012-07-17 22:18 triggor 阅读(318) 评论(0) 推荐(0) 编辑

摘要: 原文地址:http://msdn.microsoft.com/en-us/data/aa937709The Microsoft® ADO.NET Entity Framework is an Object/Relational Mapping (ORM) framework that enables developers to work with relational data as domain-specific objects, eliminating the need for most of the data access plumbing code that develope 阅读全文

posted @ 2012-07-17 21:59 triggor 阅读(143) 评论(0) 推荐(0) 编辑

摘要: 实体框架Entity Framework 4.1快速入门:http://tech.it168.com/a2011/0719/1220/000001220362_all.shtml 阅读全文

posted @ 2012-07-17 21:56 triggor 阅读(117) 评论(0) 推荐(0) 编辑

2012年5月11日

摘要: 我们在写页面代码的时候,有时把一个表格的宽度定死后会出现里面的文字不见了,特别是英文。这就是他换行了所导致的,这时我们就需要加些CSS元素让它来听我们的话!根据自己以往的经验,也参考了些网上的文章,具体如下:强制不换行div{ white-space:nowrap; } 自动换行div{ word-wrap: break-word; word-break: normal; } 强制英文单词断行div{ word-break:break-all; }============================================CSS设置不转行:overflow:hidden 隐藏 wh 阅读全文

posted @ 2012-05-11 10:47 triggor 阅读(166) 评论(0) 推荐(0) 编辑

2012年4月27日

摘要: ORA-12154: TNS:could not resolve the connect identifier specified如果没有配置好,就会出现以上错误。具体安装方法:1、安装Oracle,配置Oracle2、安装ODTwithODAC1120303、到Oracle安装目录下面(如:C:\oracle\product\10.2.0\client_1\network\ADMIN),找到tnsnames.ora文件4、将该文件拷贝到Oracle EntityFramework目录下面(如:C:\app\Administrator\product\11.2.0\client_1\Netwo 阅读全文

posted @ 2012-04-27 17:03 triggor 阅读(536) 评论(0) 推荐(0) 编辑

2012年3月29日

摘要: 1. Agile jQuery CarouselHighly customizable jQuery Carousel plugin so you can build according to your requirements. JSON data format is used to provide easier integration with external data or data from your CMS. Use it for agile web development. This is an all new version written from scratch. JQue 阅读全文

posted @ 2012-03-29 14:10 triggor 阅读(13458) 评论(0) 推荐(0) 编辑

2012年3月20日

摘要: <div id="footer"> <img src="templets/images/footlogo.gif"/> <p>XXXX网 版权所有 Copyright @2009-2011 www.xxx.com All Rights Reserved. <br />特别声明:本站医学信息仅供参考,转载本站文章请注明出处.</p> <div><div style="display:none;">hidden-解决IE6文字溢出</div>& 阅读全文

posted @ 2012-03-20 14:40 triggor 阅读(295) 评论(0) 推荐(0) 编辑

2012年2月23日

摘要: 透明往往能产生不错的网页视觉效果,先奉上兼容主流浏览器的CSS透明代码:.transparent_class { filter:alpha(opacity=50); -moz-opacity:0.5; -khtml-opacity: 0.5; opacity: 0.5; }上面的几个属性分别是:opacity: 0.5; 这是最重要的,因为它是CSS标准.该属性支持firefox, Safari和 Opera.filter:alpha(opacity=50); 这个是为IE6设的,可取值在0-100,其它三个0到1.-moz-opacity:0.5; 这个是为了支持一些老版本的Mozilla浏 阅读全文

posted @ 2012-02-23 15:14 triggor 阅读(305) 评论(0) 推荐(0) 编辑

2012年2月7日

摘要: 子元素设置了position,在低版本的浏览器中,如果父容器overflow:scroll,那么子元素会跟随滚动条自动滚动。解决方案:将滚动的父容器设置:position:relative注意:一定要是产生滚动条的父容器,如果产生滚动条的是祖父容器,那么就将祖父容器设置position:relative就可以了。以此类推! 阅读全文

posted @ 2012-02-07 13:03 triggor 阅读(905) 评论(0) 推荐(0) 编辑

2012年2月5日

摘要: 前提条件:电脑必须是32位操作系统;出现error的解决方法首先断网,也就是不要把电脑连到网上,否则会被官方发现从而出现文件被删除刷机工具不能使用的状况;其次把电脑上的时间调到2012年1月30号之前,而且时间尽可能提前,否则要么出现你所说的情况,要么就提示dll文件出错;重新解压以前下载的刷机工具,打开之后你就发现可以刷机了。之所以要重新下载或解压,是因为以前电脑连到网上,被中兴官方发现从而自动删除了dll文件,导致刷机工具不能使用。原帖地址:http://bbs.hiapk.com/thread-2860049-1-1.html------------------------------- 阅读全文

posted @ 2012-02-05 20:39 triggor 阅读(451) 评论(0) 推荐(0) 编辑