06 2014 档案

摘要:Uploadify Version 3.2Options选项设置auto 选择文件后自动上传buttonClass 给“浏览按钮”加css的class样式buttonCursor 鼠标移上去形状:arrow箭头、hand手型(默认)buttonImage 鼠标移上去变换图片b... 阅读全文
posted @ 2014-06-22 19:57 MrMrCash 阅读(233) 评论(0) 推荐(0)
摘要:无标题页 ... 阅读全文
posted @ 2014-06-22 19:50 MrMrCash 阅读(132) 评论(0) 推荐(0)
摘要:jQuery Uploadify在ASP.NET MVC3中的使用1、Uploadify简介 Uploadify是基于jQuery的一种上传插件,支持多文件、带进度条显示上传,在项目开发中常被使用。 Uploadify官方网址:http://www.uploadify.com/2、ASP.NET M... 阅读全文
posted @ 2014-06-22 19:44 MrMrCash 阅读(512) 评论(0) 推荐(0)
摘要:@{ ViewBag.Title = "Index"; Layout = null;}Index @*@Html.BeginForm("Index", "Test", FormMethod.Post, new { @enctype = "multipart/for... 阅读全文
posted @ 2014-06-19 23:33 MrMrCash 阅读(620) 评论(0) 推荐(0)
摘要:LINQ to Entities 是 LINQ 中最吸引人的部分。它让你可以使用标准的 C# 对象与数据库的结构和数据打交道。使用 LINQ to Entities 时,LINQ 查询在后台转换为 SQL 查询并在需要数据的时候执行,即开始枚举结果的时候执行。LINQ to Entities 还为你... 阅读全文
posted @ 2014-06-14 14:45 MrMrCash 阅读(1173) 评论(0) 推荐(0)
摘要:随笔- 28 文章- 31 评论- 16MVC 自定义AuthorizeAttribute实现权限管理在上一节中提到可以使用AuthorizeAttribute进行权限管理: [Authorize] public ActionResult TestAuthorize() ... 阅读全文
posted @ 2014-06-14 14:44 MrMrCash 阅读(4859) 评论(0) 推荐(2)
摘要:第一步,自定义 AuthorizeAttribute。public class CustomAuthorizeAttribute : AuthorizeAttribute { public override void OnAuthorization(AuthorizationCo... 阅读全文
posted @ 2014-06-14 13:51 MrMrCash 阅读(1421) 评论(0) 推荐(0)