
MVC
不知道未来的你多强大
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ASP.NET MVC3 Model验证总结
http://www.cnblogs.com/yeagen/archive/2012/09/24/2700836.html ASP.NET MVC3中的Model是自验证的,这是通过.NET4的System.ComponentModel.DataAnnotations命名空间完成的。 我们要做的只是给Model类的各属性加上对应的验证标记(Attributes)就可以让MVC3框架帮我们转载 2013-03-19 17:12:06 · 1322 阅读 · 0 评论 -
C#导出excel或csv文件
方法一: Model: public class Execlinfo { public int UserID { get; set; } public string UserName { get; set; } public string Password { get; set; }原创 2013-09-12 10:30:55 · 1809 阅读 · 0 评论 -
MVC分页详解(包括整个流程步骤,代码与注解)
1、首先写一个Model(分页模型)MvcPagerInfo.cs(可放入AppCode中) using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Web.Mv原创 2013-03-18 10:36:27 · 2778 阅读 · 4 评论 -
mvc jquery 表单提交
mvc 提交表单 $("#confirm").click(function () { if ($("#txtPassword").val() != "" && $("#txtOldPassword").val() != "") { var txtPassword = $("#原创 2013-09-12 10:57:45 · 1214 阅读 · 0 评论