摘要: 问题回顾: 问题解答: 将HTML代码修改如下: 另外引入如下JS脚本: 解答完毕! 阅读全文
posted @ 2016-03-20 17:21 shuai7boy 阅读(1290) 评论(0) 推荐(0)
摘要: 当我们使用控制器利用Ajax获取表单数据时,调试为null,这时看看你接受表单时定义的参数名字是否为action 其实不能起这个名字的,这个名字和控制器关键字冲突了 随便换个其它名字就好了,比如我起个aaa 阅读全文
posted @ 2016-03-20 15:18 shuai7boy 阅读(321) 评论(0) 推荐(0)
摘要: JS代码: $("#editDv").css("display","block"); $("#editDv").dialog({ title: "温馨提示:请在此编辑您的用户信息~", width:500, height: 300, collapsible: true, maximizable: t 阅读全文
posted @ 2016-03-20 11:29 shuai7boy 阅读(1606) 评论(0) 推荐(0)
摘要: Ctrl+E,D快速对所有文档进行格式化 Ctrl+E,F快速对选中内容进行格式化 阅读全文
posted @ 2016-03-19 15:06 shuai7boy 阅读(1087) 评论(0) 推荐(0)
摘要: 下面是View显示代码: 下面是Controller后台代码: using IBLL; using SQLModel; using System; using System.Collections.Generic; using System.Linq; using System.Web; using 阅读全文
posted @ 2016-03-18 15:47 shuai7boy 阅读(1534) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/huangxincheng/category/368987.html 阅读全文
posted @ 2016-03-17 17:09 shuai7boy 阅读(212) 评论(0) 推荐(0)
摘要: 然后我们在DAL层新建一个BaseDAL类,类中内容是通过CustomerDAL修改而来的,将出现Customer的地方替换成了T,出现Customers的地方改成了CreateObjectSet<T>() ,修正后的类如下 阅读全文
posted @ 2016-03-17 16:43 shuai7boy 阅读(339) 评论(0) 推荐(0)
摘要: 报错信息: 编辑代码: 解决办法: 在Controller中不要把实体直接传过去,而要根据id先查出来,然后把查出来的实体传递过去就OK了 阅读全文
posted @ 2016-03-16 12:08 shuai7boy 阅读(631) 评论(0) 推荐(0)
摘要: SVN安装步骤: 所有安装文件下载地址:http://pan.baidu.com/s/1bocNTDl 一.安装01 VisualSVN-Server-3.4.2-x64.msi 文件 直接下一步,下一步即可 图片由左向右查看 现在客户端安装完毕,演示下如何使用: 1.创建仓储演示 2.授予用户使用 阅读全文
posted @ 2016-03-14 11:20 shuai7boy 阅读(306) 评论(0) 推荐(0)
摘要: 错误提示: 最可能的原因: system.web/identity@impersonate 设置为 true。 解决办法: 现在经典模式 连微软都几乎放弃了 原设想是为iis不断升级 提供的一种兼容模式。即是兼容模式,一定要放弃一些原有的设定————让所有经典模式的站点使用经典程序池。这样就容易造成 阅读全文
posted @ 2016-03-12 19:11 shuai7boy 阅读(6277) 评论(0) 推荐(1)