摘要: File.Create("D:\\路径\\文件名.扩展名"); 阅读全文
posted @ 2018-05-03 19:32 X_A_M 阅读(134) 评论(0) 推荐(0) 编辑
摘要: private void button1_Click(object sender, EventArgs e) { try { //1.创建Applicaton对象 Microsoft.Office.Interop.Excel.Application xApp = new Microsoft.Offi 阅读全文
posted @ 2018-05-03 19:31 X_A_M 阅读(751) 评论(0) 推荐(0) 编辑
摘要: private void button5_Click(object sender, EventArgs e) { string currentPath = Directory.GetCurrentDirectory(); WriteExcel(textBox3.Text + textBox4.Tex 阅读全文
posted @ 2018-05-03 19:26 X_A_M 阅读(5897) 评论(1) 推荐(0) 编辑