上一页 1 2 3 4 5 6 7 ··· 14 下一页
摘要: 1).Could not find the dialect in the configuration.如果你直接从官方网站上指引直接copy下来的话,会报此错误,官方的都不可靠啊:<add key="hibernate.connection.driver_class" value="NHibernate.Driver.SqlClientDriver" /><add key="hibernate.dialect" value="NHibernate.Dialect.MsSql2000Dialect" 阅读全文
posted @ 2011-08-05 15:09 db's jim 阅读(292) 评论(1) 推荐(0) 编辑
摘要: From HTML to ExcelOne of our projects makes extensive use of web-based reports. Our customer, however, often prefers to extract these reports to Excel, for further analysis or manipulation. This is easy with Internet Explorer, as there's a right-click option "Export to Excel", which ha 阅读全文
posted @ 2011-06-09 11:11 db's jim 阅读(235) 评论(0) 推荐(0) 编辑
摘要: select a.name, b.*,c.name,case c.freq_type when 1 then '一次' when 4 then '每天' when 8 then '每周' when 16 then '每月' when 32 then 'Runs when the SQL Server Agent service starts' when 128 then ' Runs when the computer is idle' end,freq_interval,case freq_sub 阅读全文
posted @ 2011-04-25 10:20 db's jim 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 1,回到上一个光标位置使用组合键 Ctrl + - 键表示Navigate BackWard, 使用组合键 Ctrl + Shift + - 键表示 Forward.2,删除多余的using指令,并且排序当我们新一个类的时候,Visual Studio 会将常用的命名空间using在类的头部。但是在我们写完一个类的时候,有些using是多余的,删除多余的using,再排一下序,可以使代码看起来更清晰。Visual Studio 2008 已经为我们做好了这一切。在代码编辑区点击右键,可以看到"组织 using"菜单,这就是我们需要的了。3,复制或删除一行代码时,不用先选择它 阅读全文
posted @ 2011-03-08 18:03 db's jim 阅读(817) 评论(1) 推荐(1) 编辑
摘要: IOC是Inversion of Control的缩写,多数书籍翻译成“控制反转”,还有些书籍翻译成为“控制反向”或者“控制倒置”。 1996年,Michael Mattson在一篇有关探讨面向对象框架的文章中,首先提出了IOC 这个概念。对于面向对象设计及编程的基本思想,前面我们已经讲了很多了,不再赘述,简单来说就是把复杂系统分解成相互合作的对象,这些对象类通过封装以后,内部实现对外部是透明的,从而降低了解决问题的复杂度,而且可以灵活地被重用和扩展。IOC理论提出的观点大体是这样的:借助于“第三方”实现具有依赖关系的对象之间的解耦 阅读全文
posted @ 2011-03-08 15:55 db's jim 阅读(985) 评论(4) 推荐(4) 编辑
摘要: 在不是js打开的页面上按window.close(), 会有提示框,很烦,现在可以不用了,没有提示框直接关闭窗口。 试试下面代码: 阅读全文
posted @ 2010-12-07 12:16 db's jim 阅读(307) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript">$(document).ready(function() {alert($(window).height()); //浏览器当前窗口可视区域高度alert($(document).height()); //浏览器当前窗口文档的高度alert($(document.body).height());//浏览器当前窗口文档body... 阅读全文
posted @ 2010-10-26 18:04 db's jim 阅读(320) 评论(0) 推荐(0) 编辑
摘要: json官网:http://www.json.org/json-zh.html 阅读全文
posted @ 2010-10-26 12:26 db's jim 阅读(485) 评论(0) 推荐(0) 编辑
摘要: jQuery 1.0(2006年8月):该库的第一个稳定版本,已经具有了对CSS选择符、事件处理和AJAX交互的稳健支持。 jQuery 1.1(2007年1月):这一版大幅简化了API。许多较少使用的方法被合并,减少了需要掌握和解释的方法数量。 jQuery 1.1.3(2007年7月):这次小版本变化包含了对jQuery选择符引擎执行速度的显著提升。从这个版本开始,jQuery的性能达到了Prototype、Mootools以及Dojo等同类JavaScript库的水平。 jQuery 1.2(2007年9月):这一版去掉了对XPath选择符的支持,原因是相对于CSS语法它已经变得多余了。这一版能够支持对效果的更灵活定制,而且借助新增的命名空间事件,也使插件开发变得更容易。 jQuery UI(2007年9月):这个新的插件套件是作为曾经流行但已过时的Interface插件的替代项目而发布的。jQuery UI中包含大量预定义好的部件(widget),以及一组用于构建高级元素(例如可拖放的界面元素)的工具。 jQuery 1.2.6(2008年5月):这一版主要是将Bra 阅读全文
posted @ 2010-10-26 11:58 db's jim 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 可用于循环访问集合的 IEnumerator 对象。 阅读全文
posted @ 2010-10-26 11:52 db's jim 阅读(377) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 14 下一页