上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 24 下一页
摘要: 使用mvc绑定表单 每次绑定的对象都为null,查看Request.Form里面是有传进去的参数的,并且属性名称完全一样,最后发现是 变量的命名不能和属性里面的字段一样 一样的话绑定表单失败 阅读全文
posted @ 2018-12-21 11:23 _York 阅读(416) 评论(3) 推荐(0) 编辑
摘要: 动态构建 WHERE(C=>C.Id=Value): 动态构建List的Contains表达式: 参考地址:https://stackoverflow.com/questions/278684/how-do-i-create-an-expression-tree-to-represent-strin 阅读全文
posted @ 2018-12-12 14:48 _York 阅读(580) 评论(1) 推荐(0) 编辑
摘要: 解决办法: 减少y轴的margion,和格式化y轴 阅读全文
posted @ 2018-12-03 09:51 _York 阅读(2441) 评论(0) 推荐(0) 编辑
摘要: 使用Echars绑定图表的click事件后,发现click事件重复触发了二次。 解决办法:在绑定事件之前关闭chart的click。 off方法文档: 阅读全文
posted @ 2018-11-27 10:36 _York 阅读(556) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Web; using NPOI; using NPOI.HPSF; using NPOI.HSSF.UserMode... 阅读全文
posted @ 2018-11-22 11:51 _York 阅读(705) 评论(0) 推荐(0) 编辑
摘要: string path = Application.StartupPath; SetAutoRun(path + @"\AppName.exe", true); /// /// 设置应用程序开机自动运行 /// /// 应用程序的文件名 /// 是否自动运行,为false时,取消自动运行 ... 阅读全文
posted @ 2018-11-16 10:41 _York 阅读(389) 评论(0) 推荐(0) 编辑
摘要: public class FtpUtil { string ftpServerIP; string ftpRemotePath; string ftpUserID; string ftpPassword; string ftpURI; /// /// 连接FTP ... 阅读全文
posted @ 2018-11-16 09:43 _York 阅读(162) 评论(2) 推荐(0) 编辑
摘要: /// /// sqlserver备份 /// public class SqlserverBack : IBack { private string backPath = string.Empty; public SqlserverBack() { backPath = Configu... 阅读全文
posted @ 2018-11-16 09:42 _York 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1、在项目里面使用了axios.js来发送http请求,在IE下报错Promise未定义,解决办法: 到http://bluebirdjs.com/docs/getting-started.html 下载 bluebird.min.js脚本加入页面,解决Promise未定义的错误 2、IE11不支持 阅读全文
posted @ 2018-11-14 14:43 _York 阅读(23893) 评论(4) 推荐(0) 编辑
摘要: NLog写文件记录日志 阅读全文
posted @ 2018-11-13 16:51 _York 阅读(453) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 24 下一页