2017年11月23日

Windows Server 2012发布ASP.NET MVC5 项目

摘要: 一、本文实验环境 Windows Server 2012 R2 Visual Studio 2015 项目为:ASP.NET MVC 5.0,使用的是SQL SERVER 2008 R2数据库 二、搭建服务器环境 1、安装IIS; 开始->控制面板->程序和功能,点击左侧菜单(启用或关闭Window 阅读全文

posted @ 2017-11-23 14:57 Caims 阅读(539) 评论(0) 推荐(0) 编辑

2013年2月3日

分页

摘要: drop proc GetPageDataBuildingcreate proc GetPageDataBuilding @pageSize int, @pageIndex int, @totalCount int outputas select * into #Temp from --根据中间查询结果表创建了一个临时表 (select B.*,P.ProjectName,U.UName,Br.BranchName from BuildingInfo as B left join ProjectInfo as P on P.Id=B.ProjectId ... 阅读全文

posted @ 2013-02-03 11:12 Caims 阅读(223) 评论(0) 推荐(0) 编辑

2013年2月1日

JQuery之正选、反选、全不选

摘要: function selectAll() { $(":checkbox").attr("checked", true);}function selectNone() { $(":checkbox").attr("checked",false);}function selectContray() { $(":checkbox").each(function () { $(this).attr("checked", !$(this).attr("checked" 阅读全文

posted @ 2013-02-01 17:17 Caims 阅读(248) 评论(0) 推荐(0) 编辑

2013年1月30日

从客户端中检测到有潜在危险的 Request.Form 值

摘要: 从客户端(xxxxxx)中检测到有潜在危险的 Request.Form 值。说明: 请求验证过程检测到有潜在危险的客户端输入值,对请求的处理已经中止。该值可能指示危及应用程序安全的尝试,如跨站点的脚本攻击。通过在 Page 指令或 配置节中设置 validateRequest=false 可以禁用请求验证。但是,在这种情况下,强烈建议应用程序显式检查所有输入。异常详细信息: System.Web.HttpRequestValidationException: 从客户端(xxxxxx)中检测到有潜在危险的 Request.Form 值。 解决方案一:在当前页面<%@ Page valida 阅读全文

posted @ 2013-01-30 17:52 Caims 阅读(346) 评论(0) 推荐(0) 编辑

CKEditor和CKFinder配置(asp.net)

摘要: 一、官方Download1、CKEditor:点击CKEditor.NET标题下的“Download zip”按钮Version:CKEditor 3.6.4 for ASP.NET, Released 8 Aug 20122、CKFinder:点击Asp.net标签下的“Download”按钮Version: 2.3.1 , Released 4 Jan 2013 , Changelog——CKEditor是新一代的FCKEditor,很明显的不同点是CKEditor中文件上传功能独立出来了,需要配合使用CKFinder才能实现。二、具体配置顺序1、在项目中添加对应的文件右击网站,添加引用。 阅读全文

posted @ 2013-01-30 11:08 Caims 阅读(1868) 评论(0) 推荐(0) 编辑

导航