在asp.net中,怎么把gridview中的数据导出到excel中,有没有例子,参考一下
3条回答
Robot-C 2016-05-10 09:33关注Response.Clear();
Response.AddHeader("content-disposition", "attachment;filename=sx.xls");
Response.Charset = "GB2312";
Response.ContentEncoding = System.Text.Encoding.UTF8;......
答案就在这里:GridView导出数据到Excel
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。解决 无用评论 打赏 举报