摘要: 快速导出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 阅读全文
posted @ 2011-10-21 15:09 李帅斌-Memory 阅读(348) 评论(0) 推荐(0) 编辑