摘要:
快速导出CSVprotected void btnQuery_Click(object sender, EventArgs e) { try { DataTable dt = _bll.GetCompanys(this.txtBegin.Text, this.txtEnd.Text); //DataTableToCSV(columns, dt); string data = Export(dt); string temp = string.Format("attachment;filename={0}", "ExportData.csv"); Respo 阅读全文