摘要:
在前台加个按钮 Btn_ExportExcel,然后在后台加上以下的函数Protected Sub Btn_ExportExcel_Click1(ByVal sender As Object, ByVal e As System.EventArgs) Handles Btn_ExportExcel.Click Response.Charset = "utf-8" Response.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312") Response.ClearContent() Res 阅读全文