随笔 - 435  文章 - 0  评论 - 110  阅读 - 62万 
04 2019 档案
Nullable object must have a value
摘要:有一个linq查询,由inner join改成left join, 对于有空值,就会出现Nullable object must have a value 的错误. 原来的查询: left join, select的字段做null判断 阅读全文
posted @ 2019-04-25 15:56 Gu 阅读(2754) 评论(0) 推荐(0) 编辑
用EPPlus 读取excel,代码出错, the given key is not present in the dictionary
摘要:这个用EPPlus 读取excel,代码出错, the given key is not present in the dictionary 原来是因为用wps编辑过的原因. 用Excel重新保存一次就可以了. 阅读全文
posted @ 2019-04-23 17:02 Gu 阅读(1362) 评论(1) 推荐(0) 编辑
easyui tagbox 自动触发回车事件
摘要:新版本的 easyui 加入了 tagbox 控件,允许用户通过回车分隔的方式输入多项数据。但这个控件有一些不便,就是每输入完一项必须按回车键确认,用户很容易在输入完最后一项后忘记按回车就直接提交表单,导致最后一项数据没有录入。 要解决这个问题可以在用户提交表单时用 JQuery 模拟一个 tagb 阅读全文
posted @ 2019-04-18 10:22 Gu 阅读(923) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示