摘要: 开发语言 C# 开发环境 .net framework 4.7.2 Newtonsoft.Json 版本 6.0 准备好Json数据,Json数据如下: {"columns":["列1","列2"],"rows":{"0":{"列1":"1","列2":"2"},"2":{"列1":"11","列2 阅读全文
posted @ 2019-11-14 17:07 Alex_Mercer 阅读(460) 评论(0) 推荐(0) 编辑
摘要: update 表1 set 表1.name=表2.name,表1.age=表2.age from 表1 inner join 表2 on 表1.id=表2.id update test1 set test1.name=test2.name,test1.age=test2.age from test1 阅读全文
posted @ 2019-11-12 11:07 Alex_Mercer 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 错误提示:消息:会话未创建:此版本的ChromeDriver仅支持Chrome版本76 原因是Chrome 自动升级,导致ChromeDriver版本没有与Chrome同步,需要更新ChromeDriver ChromeDriver下载地址: http://npm.taobao.org/mirror 阅读全文
posted @ 2019-11-07 08:59 Alex_Mercer 阅读(3061) 评论(2) 推荐(0) 编辑
摘要: function openDocModifyTab(id) { var newTabUrl = '@Url.Content("~/地址")'; parent.addExampleTab({ id: 'id' + id, title: '标题' + id, iframeUrl: F.formatStr 阅读全文
posted @ 2019-11-06 11:25 Alex_Mercer 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 虽然在用户那边设置了过期时间为永不过期,但是根据VPN的本地密码策略,还是需要每隔一段时间更新一次密码的。 具体设置为: 在VPN设置-认证设置-本地密码认证,去除每隔一段时间修改密码 阅读全文
posted @ 2019-11-05 09:10 Alex_Mercer 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 来源地址:https://www.cnblogs.com/coce/p/9070961.html 在使用EF中,如果MS SQL存储字段类型为 float,那么在C#中不能使用float来与之对应,而是要用Double 来对应,切记 数据库记录 有小数点的一般用 float, ef对应 double 阅读全文
posted @ 2019-10-25 14:43 Alex_Mercer 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 来源:https://www.cnblogs.com/xcsn/p/7285752.html 扩展类代码 1 /// <summary> 2 /// Expression表达式扩展操作类 3 /// 调用方法:repository.GetAll().AsExpandable().Where(pred 阅读全文
posted @ 2019-10-18 17:45 Alex_Mercer 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 文章来源:https://wenku.baidu.com/view/ef4de0e010a6f524cdbf85a5.html 个人觉得讲的有点复杂,我这边简单化一下 XP电脑连接 WIN10 共享打印机一直报 无法连接,拒绝访问,一直以为是权限问题。后来查了一下,这个是XP和WIN10系统的兼容性 阅读全文
posted @ 2019-10-14 16:16 Alex_Mercer 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 选择需要排序的数组为 3 1 2 5 7 9 选择排序: 选择一个最小的数,放在最前面,其余的数分成另外一个部分,每次都是这样来回排序 第一轮:1 3 2 5 7 9 第二轮:1 2 3 5 7 9 以此类推 冒泡排序: 两个数依次对比,大的往后靠,小的往前靠 第一轮:1 3 2 5 7 9 1 2 阅读全文
posted @ 2019-10-09 17:23 Alex_Mercer 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 文章来源:https://i.cnblogs.com/EditArticles.aspx?opt=1 python中的lamdba表达式可以这么理解 f=lambda x,y,z:x+y+z print(f(1,2,3)) # 6 [ or ] 可以理解为 同时调用多个方法: a=[1,2,3,4] 阅读全文
posted @ 2019-09-26 15:40 Alex_Mercer 阅读(892) 评论(0) 推荐(0) 编辑