摘要:
public static void DeleteFile(string fileUrl) { string file = System.Web.HttpContext.Current.Server.MapPath(fileUrl); if (System.IO.File.Exists(file)) 阅读全文
摘要:
if (Directory.Exists(path) == false) { Directory.CreateDirectory(path); } 阅读全文
摘要:
//当前应用程序集的执行目录 string dir = AppDomain.CurrentDomain.BaseDirectory; //当前应用程序集的执行的上级目录 dir = Path.GetFullPath(".."); // 读取到当前虚拟目录的根目录(MVC) string urlPat 阅读全文
摘要:
一、哪些DLL能够生成PPT 1、Spire.Presentation 2、Microsoft.Office.Interop.PowerPoint 简单区别:Spire.Presentation分收费版和免费版(最多创建10张幻灯片) Microsoft.Office.Interop.PowerPo 阅读全文