上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 47 下一页
摘要: :style="{backgroundImage: 'url(/Content/img/filetype/'+m.FileExtensions+'.png)'}" 阅读全文
posted @ 2020-09-22 09:06 James·wang 阅读(1184) 评论(0) 推荐(0)
摘要: C#有小数位数直接进位为整数number = 2.3445; Math.Ceiling(number); //运行完成后number的值为3 //如: 2.11 3.2145 6.125 7.111 //运行完成后的值为: 3 4 7 8 JavaScript Math有小数位数取整方法 舍掉小数取 阅读全文
posted @ 2020-09-09 21:52 James·wang 阅读(1289) 评论(0) 推荐(0)
摘要: 在执行GroupBy分组查询前先过虑数据并添加.ToList(),如此可以提高很多 阅读全文
posted @ 2020-09-06 07:19 James·wang 阅读(862) 评论(0) 推荐(0)
摘要: 配置项类型描述默认值 align string 定义单元格中内容对齐方式,可用值: left, center, right. left cellattr function 这个方法在创建单元格内容的时候给单元格添加附加到属性。所有可用的单元格属性或者style属性中可用的值都可以使用,这个方法需要返 阅读全文
posted @ 2020-09-03 12:53 James·wang 阅读(917) 评论(0) 推荐(0)
摘要: { label: '费用合计', name: 'TotalAmount', align: 'center', formatter: "currency", formatoptions: { thousandsSeparator: ",", decimalSeparator: ".", prefix: 阅读全文
posted @ 2020-09-03 11:12 James·wang 阅读(1331) 评论(0) 推荐(0)
摘要: {name:'LastLoginTime',index:'LastLoginTime',label:"最后登录时间", editable:false,formatter:"date",formatoptions: {srcformat:'Y-m-d H:i:s',newformat:'Y-m-d H 阅读全文
posted @ 2020-09-03 11:11 James·wang 阅读(640) 评论(0) 推荐(0)
摘要: 两个地方添加如下数据maxQueryStringLength: <system.web> <httpRuntime maxRequestLength="204800" maxQueryStringLength="204800" </system.web> <system.webServer> <se 阅读全文
posted @ 2020-08-19 19:57 James·wang 阅读(2675) 评论(2) 推荐(1)
摘要: 1、设置radio为未选中/选中状态: $("#id").prop({ checked: false }); $("#id").prop({ checked: true}); 2、是否选中 $("input[type='checkbox']").is(':checked') 返回true或false 阅读全文
posted @ 2020-08-19 17:55 James·wang 阅读(309) 评论(0) 推荐(0)
摘要: 1、引入chosen.jquery.min.js文件 2、使用ajax赋值 $(".chosen-select").chosen(); optHtml = ""; $.each(data, function (i,v) { optHtml += '<option value="' + v.UserI 阅读全文
posted @ 2020-08-04 18:38 James·wang 阅读(542) 评论(0) 推荐(0)
摘要: Value=emp.Household==1?"本地城镇":emp.Household==2?"本地农村":emp.Household==3?"外地城镇":emp.Household==4?"外地农村":"末定义" 阅读全文
posted @ 2020-07-24 19:56 James·wang 阅读(287) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 47 下一页