摘要: 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)
摘要: 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)
摘要: 前端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)
摘要: 在调用接口前设置TLS HttpClient client = new HttpClient(); HttpContent httpContent = new FormUrlEncodedContent(dic); ServicePointManager.SecurityProtocol = Sec 阅读全文
posted @ 2023-03-07 16:15 jxw_29 阅读(827) 评论(0) 推荐(0)
摘要: 打开Excel,选中对应的列,选择Data(数据),并点击Data Validation(数据验证)按钮 在弹出框中,Allow:选择List,并在Source:中录入选项值(以英文逗号分隔) 阅读全文
posted @ 2023-03-02 14:24 jxw_29 阅读(532) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: AddedTotalQty: { type: "number", validation: { required: true } }, 编辑该列,默认带出2位小数,如数据源的数据为2位小数,则可以正常显示;如数据源的数据为三位小数,则会自动四舍五入成两位小数; 例:如数据源的数据为0.999,则在编辑 阅读全文
posted @ 2023-03-01 10:52 jxw_29 阅读(70) 评论(0) 推荐(0)
摘要: //不考虑日期,只考虑年和月 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)
摘要: 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)