上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 78 下一页
摘要: http://blog.csdn.net/tianxiaode/article/details/21096953原文:Understanding HTML Helpers in ASP.NET MVC作者:Shailendra Chauhan works as Software Analyst at... 阅读全文
posted @ 2015-10-09 14:34 _海阔天空 阅读(1190) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/make1828/article/details/29846003using System.ComponentModel.DataAnnotations;namespace MvcApplication1.Models{ public class Mo... 阅读全文
posted @ 2015-10-09 10:56 _海阔天空 阅读(621) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/wujilong/p/3499340.htmlmvc 数据验证金钱格式decimal格式验证首先看下代码1 /// 2 /// 产品单价3 /// 4 [Display(Name = "产品单价")]5 [Range(typeof(decimal), "... 阅读全文
posted @ 2015-10-09 10:41 _海阔天空 阅读(473) 评论(0) 推荐(0)
摘要: @Html.HiddenFor(model => model.CreatedBy, new { @value=currentInfo.UserID}) value始终是null@Html.TextBoxFor(model => model.CreatedBy, new { @value=curre... 阅读全文
posted @ 2015-10-08 22:45 _海阔天空 阅读(17813) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/guohu/p/4377974.html总结发现ASP.NET MVC中Controller向View传值的方式共有6种,分别是:ViewBagViewDataTempData向普通View页面传一个Model对象向强类型页面传传一个Model对象用一个... 阅读全文
posted @ 2015-10-08 21:50 _海阔天空 阅读(1680) 评论(0) 推荐(0)
摘要: http://www.th7.cn/web/html-css/201501/78934.shtml1.下拉框设为只读试了试用这个有效: @Html.DropDownListFor(model => model.SecondDevelopment, (SelectList)ViewBag.swsec... 阅读全文
posted @ 2015-10-08 20:54 _海阔天空 阅读(1474) 评论(0) 推荐(0)
摘要: http://bbs.csdn.net/topics/360256700publicDataSetxxx(DateTimestart,DateTimeend,stringtype){string[,]strArray=newstring[6,2]{{"0","11"},{"1","11"},{"2"... 阅读全文
posted @ 2015-10-08 10:40 _海阔天空 阅读(774) 评论(0) 推荐(0)
摘要: http://zhidao.baidu.com/link?url=9j53URZJv2B9W-TPtQAaKCRbqIcYy2r3WNO0NDzciTON0EYj5Hhd3rl3UlIllK1CqOCvC_aKiQ8aRSLBm1E9Dq我知道这个Html.BeginForm()方法是构建表单的,比... 阅读全文
posted @ 2015-10-07 20:07 _海阔天空 阅读(1176) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/freeliver54/p/3747836.html本文转自:http://stackoverflow.com/questions/11767911/mvc-httppost-httpget-for-actionController:[HttpGet]p... 阅读全文
posted @ 2015-10-07 17:54 _海阔天空 阅读(835) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/nuaalfm/archive/2009/11/11/1600811.html预备知识:1、了解反射技术2、了解C#3.0中扩展方法,分布类,Linq to object,Linq to sql3、了解ASP.NET MVC在项目中每添加一个表往往都要添... 阅读全文
posted @ 2015-10-07 17:37 _海阔天空 阅读(808) 评论(0) 推荐(1)
上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 78 下一页