导航

2012年10月11日

摘要: http://www.cnblogs.com/shenfengok/archive/2011/10/19/2217420.htmlT4 编辑当您编辑 Visual Studio 中的 T4 模板时,IDE 中的语言服务(例如 IntelliSense 和突出显示的语法)对您没有任何帮助。有两种解决方案可以解决这种问题。一种是 Clarius Consulting 提供的 Visual T4 编辑器 (visualt4.com)。另一种解决方案是 Tangible Engineering 提供的 Tangible T4 编辑器 (t4-editor.tangible-engineering.co 阅读全文

posted @ 2012-10-11 14:46 龚振 阅读(333) 评论(1) 推荐(1) 编辑

2012年4月21日

摘要: 前提:数据建模是通过ADO.Net Entity 生成。原型如下:1[EdmEntityTypeAttribute(NamespaceName="GoodsModel",Name="Customer")]2[Serializable()]3[DataContractAttribute(IsReference=true)]4publicpartialclassCustomer:EntityObject5{6#regionFactoryMethod78///<summary>9///CreateanewCustomerobject.10///&l 阅读全文

posted @ 2012-04-21 17:29 龚振 阅读(1024) 评论(0) 推荐(0) 编辑

2012年4月15日

摘要: Login failed for user 'IIS APPPOOL\ASP.NET v4.0'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.Sql 阅读全文

posted @ 2012-04-15 15:07 龚振 阅读(1142) 评论(0) 推荐(0) 编辑

2009年6月18日

摘要: Keycode对照表字母和数字键的键码值(keyCode)按键键码按键键码按键键码按键键码A65J74S83149B66K75T84250C67L76U85351D68M77V86452E69N78W87553F70O79X88654G71P80Y89755H72Q81Z90856I73R82048957  数字键盘上的键的键码值(keyCode)功能键键码值(keyCode)按键键码按键键码按键... 阅读全文

posted @ 2009-06-18 15:22 龚振 阅读(165) 评论(0) 推荐(0) 编辑

2009年6月16日

摘要: 以前的一个工程,今日加上了syslink control 结果运行后没有显示出来,怎么都找不出问题,结果新建一个工程,加上syslink control ,能正常显示,接着继续添加测试代码,比如字符串之类的,结果就报错了,要将字符类型改为“使用多字节字符集”才行。我没有对字符串转换,而是直接用的。这样一改,再运行就不显示了。多次反复试验,只有在“使用 Unico... 阅读全文

posted @ 2009-06-16 16:18 龚振 阅读(594) 评论(0) 推荐(0) 编辑

2009年3月25日

摘要: 引用:http://hi.baidu.com/7book/blog/item/3ba2144e0e6f3b0db2de0557.html 摘 要 要学习JSP开发,必须先搭建一个符合JSP规范的开发环境。本文以实用为原则,介绍了以Tomcat服务器为核心的3种配置JSP环境的方法。 关键字 JSP引擎,Web服务器,配置 Sun推出的JSP(Java Server Pages)是一种执行... 阅读全文

posted @ 2009-03-25 12:39 龚振 阅读(170) 评论(0) 推荐(0) 编辑

2009年3月23日

摘要: (function(){...})(); (function(){...})返回该函数; ()执行; ------------------------------------------------------------------- JavaScript 中的对象其实就是属性(方法)的一个集合,并没有严格意义的类的概念。 它提供了另外一种简单的方式来创建对象,即大括号({})语法: ... 阅读全文

posted @ 2009-03-23 17:19 龚振 阅读(574) 评论(0) 推荐(0) 编辑

2009年3月22日

摘要: 引用http://topic.csdn.net/t/20040329/22/2901283.html,没有测试,收藏先 --压缩日志及数据库文件大小 /*--特别注意 请按步骤进行,未进行前面的步骤,请不要做后面的步骤 否则可能损坏你的数据库. --*/ 1.清空日志 DUMP TRANSACTION ... 阅读全文

posted @ 2009-03-22 13:06 龚振 阅读(168) 评论(0) 推荐(0) 编辑

2008年12月29日

摘要: 数据库还原时大部分错都都是因为数据库的物理地址变更和逻辑名不相符而引起的,使用with move 可以解决此类问题.例如: restore database Northwind from disk = 'c:\Northwind.bak' with move 'Northwind' to 'd:\microsoft sql server\mssql.1\mssql\data\North... 阅读全文

posted @ 2008-12-29 16:50 龚振 阅读(367) 评论(0) 推荐(0) 编辑

2008年12月18日

摘要: 按照下面的步骤,为你的vistual studio 添加对Unity 的智能感知(intellisense) Visual Studio 2005 location is C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas Visual Studio 2008 location is C:\Program Files\Micros... 阅读全文

posted @ 2008-12-18 15:37 龚振 阅读(1478) 评论(1) 推荐(0) 编辑

aaaaaaaaaa