StringWriter strWriter = new StringWriter(); HtmlTextWriter htmlWriter = new HtmlTextWriter(strWriter); Response.Clear(); Response.Buffer = true; Response.AddHeader("content-disposition", "attachment;filename=excel.xls"); Response.Charset = ""; Response.ContentType = "application/vnd.ms-excel";
Gridview Excel 860201231356 to 8.60201E+11 123456121115 to 1.23456E+11 123456120010 to 1.23456E+11
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)