摘要:
使用mvc绑定表单 每次绑定的对象都为null,查看Request.Form里面是有传进去的参数的,并且属性名称完全一样,最后发现是 变量的命名不能和属性里面的字段一样 一样的话绑定表单失败 阅读全文
摘要:
动态构建 WHERE(C=>C.Id=Value): 动态构建List的Contains表达式: 参考地址:https://stackoverflow.com/questions/278684/how-do-i-create-an-expression-tree-to-represent-strin 阅读全文
摘要:
解决办法: 减少y轴的margion,和格式化y轴 阅读全文
摘要:
使用Echars绑定图表的click事件后,发现click事件重复触发了二次。 解决办法:在绑定事件之前关闭chart的click。 off方法文档: 阅读全文
摘要:
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... 阅读全文
摘要:
string path = Application.StartupPath; SetAutoRun(path + @"\AppName.exe", true); /// /// 设置应用程序开机自动运行 /// /// 应用程序的文件名 /// 是否自动运行,为false时,取消自动运行 ... 阅读全文
摘要:
public class FtpUtil { string ftpServerIP; string ftpRemotePath; string ftpUserID; string ftpPassword; string ftpURI; /// /// 连接FTP ... 阅读全文
摘要:
/// /// sqlserver备份 /// public class SqlserverBack : IBack { private string backPath = string.Empty; public SqlserverBack() { backPath = Configu... 阅读全文
摘要:
1、在项目里面使用了axios.js来发送http请求,在IE下报错Promise未定义,解决办法: 到http://bluebirdjs.com/docs/getting-started.html 下载 bluebird.min.js脚本加入页面,解决Promise未定义的错误 2、IE11不支持 阅读全文