会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jxw_29
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2023年3月21日
C# - 打印提示文件被占用
摘要: The process cannot access the file 'C:\x\xx\xxx.pdf' because it is being used by another process. 这种错误有可能是服务器上找不到打印机,所以这个pdf一直被占用了,一直卡在队列
阅读全文
posted @ 2023-03-21 16:23 jxw_29
阅读(88)
评论(0)
推荐(0)
2023年3月20日
C# - sql执行结果转对象报错(Object must implement IConvertible.)
摘要: Object must implement IConvertible. 对象必须实现IConvertible。 sql执行结果中存在GUID的值,但对象对应字段为String,在Dapper中会报错:Object must implement IConvertible. 此时将sql中的输出结果转成
阅读全文
posted @ 2023-03-20 09:42 jxw_29
阅读(1461)
评论(0)
推荐(1)
2023年3月9日
C# - 文字存储乱码问题处理
摘要: 前端js传入时编码 pdnContent: encodeURIComponent(viewModel.PDNMain.PDNContent) 后端解码处理 if (!string.IsNullOrEmpty(pdnContent)) { data.PDNMain.PDNContent = HttpU
阅读全文
posted @ 2023-03-09 13:40 jxw_29
阅读(33)
评论(0)
推荐(0)
2023年3月7日
C# - 请求被中止: 未能创建 SSL/TLS 安全通道。
摘要: 在调用接口前设置TLS HttpClient client = new HttpClient(); HttpContent httpContent = new FormUrlEncodedContent(dic); ServicePointManager.SecurityProtocol = Sec
阅读全文
posted @ 2023-03-07 16:15 jxw_29
阅读(827)
评论(0)
推荐(0)
2023年3月2日
Excel - 设置单元格下拉选项
摘要: 打开Excel,选中对应的列,选择Data(数据),并点击Data Validation(数据验证)按钮 在弹出框中,Allow:选择List,并在Source:中录入选项值(以英文逗号分隔)
阅读全文
posted @ 2023-03-02 14:24 jxw_29
阅读(532)
评论(0)
推荐(0)
kendoDropDownList - valuePrimitive
摘要: valuePrimitive默认为false;为true 时将选中项(Item)中绑定字段的值赋给View-Model字段 columns中 { field: "CableGroup", title: "XXX", width: "190px", editor: groupEditor }, fun
阅读全文
posted @ 2023-03-02 10:47 jxw_29
阅读(90)
评论(0)
推荐(0)
2023年3月1日
SQL - 查询3个月之前的数据
摘要: SELECT TOP 1000 * FROM [JobParsePO] WHERE ParseTime<DATEADD(MONTH, -3, GETDATE()) ORDER BY ParseTime DESC SELECT DATEADD(DAY, 2, GETDATE()) SELECT DAT
阅读全文
posted @ 2023-03-01 16:07 jxw_29
阅读(685)
评论(0)
推荐(0)
kendoGrid - number属性列bug
摘要: AddedTotalQty: { type: "number", validation: { required: true } }, 编辑该列,默认带出2位小数,如数据源的数据为2位小数,则可以正常显示;如数据源的数据为三位小数,则会自动四舍五入成两位小数; 例:如数据源的数据为0.999,则在编辑
阅读全文
posted @ 2023-03-01 10:52 jxw_29
阅读(70)
评论(0)
推荐(0)
2023年2月22日
js - 时间计算(相差月份)
摘要: //不考虑日期,只考虑年和月 function IsGreaterThanM(start, end, m) { const startYear = start.getFullYear(); const endYear = end.getFullYear(); const startMonth = s
阅读全文
posted @ 2023-02-22 13:08 jxw_29
阅读(417)
评论(0)
推荐(0)
kendoGrid - 显隐列
摘要: grid.data("kendoGrid").hideColumn("CI"); grid.data("kendoGrid").showColumn("CI"); 或 grid.data("kendoGrid").hideColumn(0); grid.data("kendoGrid").showC
阅读全文
posted @ 2023-02-22 09:34 jxw_29
阅读(110)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告