摘要:
前台代码<asp:Button runat="server" ID="btnDC" Text ="导出CSV" onclick="btnDC_Click"/>后台代码 protected void btnDC_Click(object sender, EventArgs e) { DataTable dt = WorkOrderQuery.FindMyOrderList(358, 1, 100, "");//数据源 try { StringWriter swCSV = new Str 阅读全文