会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
York
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
25
下一页
2018年12月21日
AspNet mvc的一个bug
摘要: 使用mvc绑定表单 每次绑定的对象都为null,查看Request.Form里面是有传进去的参数的,并且属性名称完全一样,最后发现是 变量的命名不能和属性里面的字段一样 一样的话绑定表单失败
阅读全文
posted @ 2018-12-21 11:23 _York
阅读(434)
评论(3)
推荐(0)
2018年12月12日
动态Linq表达式生成
摘要: 动态构建 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
阅读(596)
评论(1)
推荐(0)
2018年12月3日
Echarts在手机端y轴数据过大,显示不全
摘要: 解决办法: 减少y轴的margion,和格式化y轴
阅读全文
posted @ 2018-12-03 09:51 _York
阅读(2514)
评论(0)
推荐(0)
2018年11月27日
Echars鼠标点击事件多次触发
摘要: 使用Echars绑定图表的click事件后,发现click事件重复触发了二次。 解决办法:在绑定事件之前关闭chart的click。 off方法文档:
阅读全文
posted @ 2018-11-27 10:36 _York
阅读(620)
评论(0)
推荐(0)
2018年11月22日
NPOI导入导出Excel工具类
摘要: 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
阅读(717)
评论(0)
推荐(0)
2018年11月16日
WinForm设置注册表自动启动
摘要: string path = Application.StartupPath; SetAutoRun(path + @"\AppName.exe", true); /// /// 设置应用程序开机自动运行 /// /// 应用程序的文件名 /// 是否自动运行,为false时,取消自动运行 ...
阅读全文
posted @ 2018-11-16 10:41 _York
阅读(398)
评论(0)
推荐(0)
ftp上传
摘要: public class FtpUtil { string ftpServerIP; string ftpRemotePath; string ftpUserID; string ftpPassword; string ftpURI; /// /// 连接FTP ...
阅读全文
posted @ 2018-11-16 09:43 _York
阅读(169)
评论(2)
推荐(0)
sqlserver备份
摘要: /// /// sqlserver备份 /// public class SqlserverBack : IBack { private string backPath = string.Empty; public SqlserverBack() { backPath = Configu...
阅读全文
posted @ 2018-11-16 09:42 _York
阅读(206)
评论(0)
推荐(0)
2018年11月14日
ElementUI在IE11下兼容性修改
摘要: 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
阅读(24110)
评论(4)
推荐(0)
2018年11月13日
NLog简单使用
摘要: NLog写文件记录日志
阅读全文
posted @ 2018-11-13 16:51 _York
阅读(473)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
25
下一页
公告