会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Live2D 看板娘 / Demo
KysonDu的博客
博客园
首页
新随笔
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
19
下一页
2020年10月16日
C# 创建txt文本
摘要: /// <summary> /// log日志,txt的 /// </summary> /// <param name="Log1">内容</param> /// <param name="name">名字</param> /// <param name="path">路径</param> publ
阅读全文
posted @ 2020-10-16 09:41 KysonDu
阅读(1577)
评论(0)
推荐(0)
2020年10月15日
C# 删除文件
摘要: public static void DeleteFile(string fileUrl) { string file = System.Web.HttpContext.Current.Server.MapPath(fileUrl); if (System.IO.File.Exists(file))
阅读全文
posted @ 2020-10-15 17:51 KysonDu
阅读(2385)
评论(0)
推荐(0)
C# 如果路径不存在就创建File文件夹
摘要: if (Directory.Exists(path) == false) { Directory.CreateDirectory(path); }
阅读全文
posted @ 2020-10-15 17:33 KysonDu
阅读(2167)
评论(0)
推荐(0)
C# 读取项目中文件路径
摘要: //当前应用程序集的执行目录 string dir = AppDomain.CurrentDomain.BaseDirectory; //当前应用程序集的执行的上级目录 dir = Path.GetFullPath(".."); // 读取到当前虚拟目录的根目录(MVC) string urlPat
阅读全文
posted @ 2020-10-15 17:10 KysonDu
阅读(2323)
评论(0)
推荐(0)
C# 创建PPT
摘要: 一、哪些DLL能够生成PPT 1、Spire.Presentation 2、Microsoft.Office.Interop.PowerPoint 简单区别:Spire.Presentation分收费版和免费版(最多创建10张幻灯片) Microsoft.Office.Interop.PowerPo
阅读全文
posted @ 2020-10-15 16:21 KysonDu
阅读(2638)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
19
下一页
公告