摘要:
@Html.HiddenFor(model => model.CreatedBy, new { @value=currentInfo.UserID}) value始终是null@Html.TextBoxFor(model => model.CreatedBy, new { @value=curre... 阅读全文
摘要:
http://www.cnblogs.com/guohu/p/4377974.html总结发现ASP.NET MVC中Controller向View传值的方式共有6种,分别是:ViewBagViewDataTempData向普通View页面传一个Model对象向强类型页面传传一个Model对象用一个... 阅读全文
摘要:
http://www.th7.cn/web/html-css/201501/78934.shtml1.下拉框设为只读试了试用这个有效: @Html.DropDownListFor(model => model.SecondDevelopment, (SelectList)ViewBag.swsec... 阅读全文
摘要:
http://bbs.csdn.net/topics/360256700publicDataSetxxx(DateTimestart,DateTimeend,stringtype){string[,]strArray=newstring[6,2]{{"0","11"},{"1","11"},{"2"... 阅读全文