HttpResponse resp;
        resp = Page.Response;
        resp.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312");
        resp.AppendHeader("Content-Disposition", "attachment;filename=" + "Demo.xls");

        resp.Write(lblShowData.Text);
        resp.End();

相关文章:

  • 2021-11-28
  • 2021-11-06
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2021-06-07
  • 2021-10-29
猜你喜欢
  • 2021-12-27
  • 2021-06-12
  • 2022-01-11
  • 2022-12-23
  • 2021-09-19
  • 2021-09-19
相关资源
相似解决方案