2016年4月20日

摘要: 出现以上错误 需修改web.config。加入 <validation validateIntegratedModeConfiguration="false" /> 如图 阅读全文
posted @ 2016-04-20 16:29 haoxiwang001 阅读(308) 评论(0) 推荐(0) 编辑

2016年4月12日

摘要: 声明:按照 http://www.cnblogs.com/luotaoyeah/p/3321070.html 博文操作的。 历时两天半,终于搞定了 uploadify 的使用。 html 页面布局展示;js 页面交互及特殊样式设置;MVC中存在一种叫做_layout的文件,这个是设置页面模板的,一般 阅读全文
posted @ 2016-04-12 16:45 haoxiwang001 阅读(120) 评论(0) 推荐(0) 编辑

2016年4月8日

摘要: 有些存储过程非默认的 dbo,而是带架构 schema名的。此时通过 sp_helptext 读取存储过程内容时,应如下操作: sp_helptext [架构名.存储过程名] 两边用中括号包起来。 备忘 阅读全文
posted @ 2016-04-08 09:28 haoxiwang001 阅读(236) 评论(0) 推荐(0) 编辑

2016年3月7日

摘要: isnull函数 描述:如果A不为空,使用A,否则,使用B select case when A is not null then A else B end as '结果' from table isnull(A,B)可实现,表示 如果A为空的话用B代替 sql语句: select isnull(A 阅读全文
posted @ 2016-03-07 13:47 haoxiwang001 阅读(116) 评论(0) 推荐(0) 编辑

2016年2月24日

摘要: razor页面 <script type="text/javascript"> function ConfirmDelete(a) { if (confirm("Are you sure you want to delete this vehicle?")) { $.ajax({ url: '@Ur 阅读全文
posted @ 2016-02-24 10:03 haoxiwang001 阅读(621) 评论(0) 推荐(0) 编辑

2016年1月7日

摘要: 转自:http://bbs.csdn.net/topics/390903317--Step #1:USE [LowesCaMPMS.NET_Test]GOSELECT [Transaction ID], Operation, Context, AllocUnitName ... 阅读全文
posted @ 2016-01-07 19:33 haoxiwang001 阅读(465) 评论(0) 推荐(0) 编辑
摘要: SP_Pkeys SourceTableName 查询SourceTableName的主键信息 阅读全文
posted @ 2016-01-07 19:03 haoxiwang001 阅读(90) 评论(0) 推荐(0) 编辑

2015年10月22日

摘要: 在项目中添加sql server数据库后,添加表时报“An incompatible DacFX version is installed”的错误。原因:项目引用的.net Framework版本太高 阅读全文
posted @ 2015-10-22 15:10 haoxiwang001 阅读(246) 评论(0) 推荐(0) 编辑

2015年7月6日

摘要: 定义一个自增列,使用delete后,再插入数据,自增列仍按照删除前的最大值递增;若使用truncate 后,再插入数据,自增列从头开始递增脚本一(使用delete):create table #test(codes int identity,valuess int)insert into #test... 阅读全文
posted @ 2015-07-06 11:23 haoxiwang001 阅读(534) 评论(0) 推荐(0) 编辑

导航