摘要: //创建存储过程 drop procedure if exists sumindex; craete procedure sumindex() begin declare description varchar(20); declare done int default 0; declare cur 阅读全文
posted @ 2022-07-19 11:35 以至千里 阅读(280) 评论(1) 推荐(0)
摘要: public static void DelectDir(string srcPath) { try { DirectoryInfo dir = new DirectoryInfo(srcPath); FileSystemInfo[] fileinfo = dir.GetFileSystemInfo 阅读全文
posted @ 2022-04-13 10:25 以至千里 阅读(3912) 评论(0) 推荐(0)
摘要: 首先引入头文件iTextSharp.text.pdf与iTextSharp.text 1.PdfReader reader = new PdfReader(path); //打来pdf文件,path为参数路径 2.Document document = new Document(reader.Get 阅读全文
posted @ 2022-03-16 16:01 以至千里 阅读(1009) 评论(0) 推荐(0)
摘要: if(!!window.ActiveXObject || "ActiveXObject" in window) { 是 } else { 否 } 阅读全文
posted @ 2020-12-09 10:32 以至千里 阅读(108) 评论(0) 推荐(0)
摘要: 前台html <input type="file" name="FileUpload" id="FileUpload"> <a class="layui-btn layui-btn-mini" id="btn_uploadimg">上传图片</a> js var fileObj = document 阅读全文
posted @ 2020-12-08 11:05 以至千里 阅读(1007) 评论(0) 推荐(0)
摘要: /// <summary> /// 解压缩文件(压缩文件中含有子目录) /// </summary> /// <param name="zipfilepath">待解压缩的文件路径</param> /// <param name="unzippath">解压缩到指定目录</param> /// <r 阅读全文
posted @ 2020-12-07 13:56 以至千里 阅读(715) 评论(0) 推荐(0)
摘要: HttpCookie cookie = new HttpCookie("guid"); //创建 cookie.Values["id"] = “123456789”; //将“123456789”写入id HttpContext.Current.Response.AppendCookie(cooki 阅读全文
posted @ 2020-12-07 13:54 以至千里 阅读(964) 评论(1) 推荐(0)