会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
James wang
Shanghai Pudong New District
首页
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
47
下一页
2020年9月22日
Vue 中背景图片路径怎么加参数?
摘要: :style="{backgroundImage: 'url(/Content/img/filetype/'+m.FileExtensions+'.png)'}"
阅读全文
posted @ 2020-09-22 09:06 James·wang
阅读(1184)
评论(0)
推荐(0)
2020年9月9日
C#有小数位数直接进位为整数;JavaScript Math有小数位数取整方法
摘要: 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)
2020年9月6日
C# Linq to Entity使用Groupby查询时超时或很慢解决思路
摘要: 在执行GroupBy分组查询前先过虑数据并添加.ToList(),如此可以提高很多
阅读全文
posted @ 2020-09-06 07:19 James·wang
阅读(862)
评论(0)
推荐(0)
2020年9月3日
colModel的设置(给单元格指定颜色等)
摘要: 配置项类型描述默认值 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)
jqGrid表格时间格式化 ,formatoptions: {srcformat:'Y-m-d H:i:s',newformat:'Y-m-d H:i:s H:i:s'}
摘要: {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)
2020年8月19日
HTTP Error 414. The request URL is too long. asp.net解决方案
摘要: 两个地方添加如下数据maxQueryStringLength: <system.web> <httpRuntime maxRequestLength="204800" maxQueryStringLength="204800" </system.web> <system.webServer> <se
阅读全文
posted @ 2020-08-19 19:57 James·wang
阅读(2675)
评论(2)
推荐(1)
radio/checkbox各种操作
摘要: 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)
2020年8月4日
chosen.jquery.min.js动态添加下拉内容
摘要: 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)
2020年7月24日
C# linq to entity内一行代码实现多元判断
摘要: 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
下一页