摘要: string filePath = AppDomain.CurrentDomain.BaseDirectory + @"datafile\temp.xlsx"; System.IO.File.Create(filePath).Close(); //创建一个excel文件 File... 阅读全文
posted @ 2019-06-12 17:16 简辞 阅读(1762) 评论(1) 推荐(1)
摘要: public class ReadEmailPop3 { public void GetEmailContent() { using (Pop3Client client = new Pop3Client()) { client.Connect("server", 110, f... 阅读全文
posted @ 2019-06-12 17:02 简辞 阅读(2424) 评论(0) 推荐(0)
摘要: 1,Controller中的方法 2,cshtml 页面中执行方法,获取下载文件 阅读全文
posted @ 2019-06-12 16:50 简辞 阅读(1684) 评论(0) 推荐(0)