摘要:
DataTable dt = new DataTable(); dt.Columns.Clear(); dt.Columns.Add("事故发生时间"); dt.Columns.Add("道路名称"); dt.Columns.Add("原始方向"); dt.Columns.Add("公里数"); d 阅读全文
摘要:
FolderBrowserDialog sfd = new FolderBrowserDialog(); sfd.ShowDialog(); myTextbox1.Text = sfd.SelectedPath; //查找文件 并 修改文件名称 string path = myTextbox1.Te 阅读全文
摘要:
public static void ExportToExcel(System.Data.DataTable dt) { if (dt == null) return; Microsoft.Office.Interop.Excel.Application xlApp = new Microsoft. 阅读全文