会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
以至千里
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
2022年7月19日
Mysql存储过程查询结果插入另一张表并定时启动
摘要: //创建存储过程 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)
2022年4月13日
C#删除文件夹及文件
摘要: 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)
2022年3月16日
ITextSharp对PDF文件的相关操作
摘要: 首先引入头文件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)
2020年12月9日
js判断浏览器是否为IE
摘要: if(!!window.ActiveXObject || "ActiveXObject" in window) { 是 } else { 否 }
阅读全文
posted @ 2020-12-09 10:32 以至千里
阅读(108)
评论(0)
推荐(0)
2020年12月8日
C#本地文件上传到服务器
摘要: 前台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)
2020年12月7日
C# 解压缩
摘要: /// <summary> /// 解压缩文件(压缩文件中含有子目录) /// </summary> /// <param name="zipfilepath">待解压缩的文件路径</param> /// <param name="unzippath">解压缩到指定目录</param> /// <r
阅读全文
posted @ 2020-12-07 13:56 以至千里
阅读(715)
评论(0)
推荐(0)
C#中Cookie的写入与读取
摘要: 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)
上一页
1
2
3
公告