//获取项目根目录下的文件
string FilePath=Appliction.StartupPath+"\\"+DateTime.Now.ToString("yyyyMMdd")+".xls";
//打开路径下的文件
System.Diagnostics.Process.Start(FilePath);
C# 打开指定路径下的文件
最新推荐文章于 2023-01-22 17:10:23 发布
//获取项目根目录下的文件
string FilePath=Appliction.StartupPath+"\\"+DateTime.Now.ToString("yyyyMMdd")+".xls";
//打开路径下的文件
System.Diagnostics.Process.Start(FilePath);