09 2016 档案

摘要://清空表单 $('#SearchForm').form('clear'); var fdate = (new Date().getFullYear()) + "-" + (new Date().getMonth() + 1) + "-" + (new Date().getDate() - 7); 阅读全文
posted @ 2016-09-30 14:31 人生为卒 阅读(647) 评论(0) 推荐(0) 编辑
摘要:[HttpGet] controller方法前面加上 效率比post高,但是http请求有长度限制,不同浏览器处理不一样(如下) 各浏览器HTTP Get请求URL最大长度并不相同,几类常用浏览器最大长度及超过最大长度后提交情况如下: IE6.0 :url最大长度2083个字符,超过最大长度后无法提 阅读全文
posted @ 2016-09-30 10:01 人生为卒 阅读(241) 评论(0) 推荐(0) 编辑
摘要:Html TODO: html中@和@:的作用 @if (RoleOperate.IsOperateType(ViewBag.RoleInfo, EnumOperateType.Delete) ) { //已报价则不能删除 @:if (row.State != 1) { @:operation += 阅读全文
posted @ 2016-09-29 09:28 人生为卒 阅读(239) 评论(0) 推荐(0) 编辑
摘要:http://jingyan.baidu.com/article/380abd0a1fd86c1d90192c06.html 阅读全文
posted @ 2016-09-21 10:37 人生为卒 阅读(105) 评论(0) 推荐(0) 编辑
摘要://自定义规则验证 $.validator.addMethod("onlycode", function (value, element, params) { var re = new RegExp(params); if ($.trim(value).length < 0 || $.trim(value) == "") ... 阅读全文
posted @ 2016-09-18 10:18 人生为卒 阅读(184) 评论(0) 推荐(0) 编辑
摘要://获取类【OflSchApplyVM】的所有属性 PropertyInfo[] _PropertyInfo = typeof(OflSchApplyVM).GetProperties(); //对应属性 PropertyInfo _pro = null; ... 阅读全文
posted @ 2016-09-02 16:01 人生为卒 阅读(803) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示