摘要:private void toexcel(DataSet ds, string title) { StringBuilder sb = new StringBuilder(); Response.Clear(); Response.Buffer = false; Response.Charset = "GB2312"; Response.AppendHeader("Content-Disposition", "attachment;filename=" + title + ".xls"); Response.ContentEncoding = System.Text.Encoding.GetE
阅读全文