Let's go
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 54 下一页
摘要: 一、NPOI组件导入 右键项目菜单,“管理NuGet程序包” 直接搜索“NPOI”即会出现列表,下载第一个进行安装即可 安装完成后项目引用会出现以下几项 二、基础使用 添加引用 Excel操作开始 文件导出 测试代码(以MVC实例): 阅读全文
posted @ 2019-08-20 09:29 chenze 阅读(1370) 评论(0) 推荐(0) 编辑
摘要: 1.创建Windows服务 这时候点击“启动”按钮,会提示我们启动失败。 这因为Windows服务不能像普通窗口程序那样启动,接下来就安装服务。 2.配置 在Service1.cs上右键,选择“查看设计器”, 然后再在上面的空白处,右键选择“添加安装程序”, 这时候,Visual Studio就会自 阅读全文
posted @ 2019-08-19 16:07 chenze 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 一丶简单的记录操作日志 public void WriteLog(string msg) { string filePath = AppDomain.CurrentDomain.BaseDirectory + "Log"; if (!Directory.Exists(filePath)) { Dir 阅读全文
posted @ 2019-08-16 14:11 chenze 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 转:http://blog.chinaunix.net/uid-540802-id-3419311.html explain显示了mysql如何使用索引来处理select语句以及连接表。可以帮助选择更好的索引和写出更优化的查询语句。 使用方法,在select语句前加上explain就可以了: 如: 阅读全文
posted @ 2019-08-11 16:38 chenze 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 1:回车登录 document.onkeydown = function (e) { e = e || window.event; if ((e.keyCode || e.which) == 13) { $('#login_btn').trigger('click'); } } $('#btn'). 阅读全文
posted @ 2019-08-01 09:36 chenze 阅读(138) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 54 下一页
有事您Q我