上一页 1 2 3 4 5 6 7 8 ··· 16 下一页
摘要: 改动老程序,留个记录 asp.net的webform下面会写webmethod直接返回DataSet,DataTable等页面直接使用 [WebMethod] public static DataSet GetJobListByImJoNo(string jono) { } 这个需要2个步骤才能完成 阅读全文
posted @ 2021-08-17 16:18 老飞飞 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 原文网址 https://www.cnblogs.com/love-zf/p/7450409.html BorderStyle.Thin 全称为 NPOI.SS.UserModel.BorderStyle.Thin 最后那个关于报错的修改,亲测有效. 网上找到了,HSSFWorkbook自定义颜色的 阅读全文
posted @ 2021-08-17 15:39 老飞飞 阅读(1059) 评论(0) 推荐(0) 编辑
摘要: 本文转载自 https://www.cnblogs.com/thiaoqueen/p/7277964.html js 在iframe子页面获取父页面元素,或在父页面 获取iframe子页面的元素的几种方式 用JS或jquery访问页面内的iframe,兼容IE/FF 注意:框架内的页面是不能跨域的! 阅读全文
posted @ 2021-07-05 08:36 老飞飞 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 网管通知外部公司扫描检查发现 "HSTS Missing From HTTPS Server漏洞",更详细的说明"The remote HTTPS server is not enforcing HTTP Strict Transport Security (HSTS). HSTS is an op 阅读全文
posted @ 2021-06-04 15:31 老飞飞 阅读(985) 评论(0) 推荐(0) 编辑
摘要: try: a=1/0 except Exception as err: print('database write error!') print(err) 开始的时候print('1/0:'+err) 结果程序崩溃了,后来修改为如上方式,顺利完成 阅读全文
posted @ 2021-01-26 08:50 老飞飞 阅读(61) 评论(0) 推荐(0) 编辑
摘要: begin try declare @i1 float set @i1=1/0 end try begin catch declare @errmsg nvarchar(max) select @errmsg=convert(varchar(10), ERROR_LINE())+' line <br 阅读全文
posted @ 2021-01-25 15:33 老飞飞 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 事情的起源是用户报告下载excel功能不能使用. 现在的业务逻辑可以理解为报表下载: 后台消耗比较多的资源生成报表数据,前台加了一些规则(比如中国式报表头), 生成了一个比较复杂的报表内容出来. 此时用户需要点击"Excel"保存为excel. 一直以来使用的下载方法为页面将需要下载的内容放到一个h 阅读全文
posted @ 2021-01-19 15:11 老飞飞 阅读(483) 评论(0) 推荐(0) 编辑
摘要: @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Index</title> <link href="~/Content/weu 阅读全文
posted @ 2020-11-23 21:16 老飞飞 阅读(1107) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://www.cnblogs.com/Shadow3627/archive/2013/03/26/2983484.html 使用VS 2005以上的版本时,习惯性的使用ConfigurationSettings类来读取应用程序配置文件的信息时,却被编译器提示说 警告“System 阅读全文
posted @ 2020-11-21 10:59 老飞飞 阅读(495) 评论(0) 推荐(0) 编辑
摘要: try { //System.GC.Collect(); HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL); request.Proxy = null; request.KeepAlive = false; request 阅读全文
posted @ 2020-10-21 17:58 老飞飞 阅读(1817) 评论(5) 推荐(5) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 16 下一页