private void button1_Click(object sender, RoutedEventArgs e) { string[] Str = { "入账编号", "经费来源", "项目编号", "金额", "经办人", "入账时间", "备注", "项目编号", "项目名称", "项目标记" }; TableToOutLayIn.ExportExcel("select * from OutlayIn", Str, "入账表格.xlsx"); }
private void button1_Click(object sender, RoutedEventArgs e) { string[] Str = { "入账编号", "经费来源", "项目编号", "金额", "经办人", "入账时间", "备注", "项目编号", "项目名称", "项目标记" }; TableToOutLayIn.ExportExcel("select * from OutlayIn", Str, "入账表格.xlsx"); }