摘要: 使用方法 前台页面这样写就足够了 新增编辑加载页面(改页面需要继承CreateModel类) Type type; public decimal id = 0; protected void Page_Init(object sernder, EventArgs e) { //初始化类型 this. 阅读全文
posted @ 2017-11-24 13:39 小神猪 阅读(571) 评论(0) 推荐(1) 编辑
摘要: 1.通过serialize()方式传递json数据 注意:前端html表单 name值应该为后台类中的字段名称 例如:<input name="S_类字段名称" type='text' id="S_类字段名称" /> 1.1 js var x = encodeURI(jQuery("#xmfs in 阅读全文
posted @ 2017-11-24 11:42 小神猪 阅读(4342) 评论(0) 推荐(0) 编辑