摘要:private void btnImport_Click(object sender, EventArgs e) { DataSet ds = new DataSet(); DataTable dt = null; OpenFileDialog sflg = new OpenFileDialog... 阅读全文
posted @ 2016-09-14 16:50 Ran0 阅读(38617) 评论(2) 推荐(3) 编辑
摘要:string fileName = Path.Combine(Application.StartupPath, "kfwh_yhxf.xls"); Microsoft.Office.Interop.Excel.Application app = new Microsoft.Office.Interop.Excel.Application(); if (app == null) { M... 阅读全文
posted @ 2016-08-24 17:07 Ran0 阅读(1406) 评论(0) 推荐(0) 编辑