I've been exporting datagrids to excel for a long time. with the following code. Dim tw As New System.IO.StringWriter()Dim hw As New System.Web.UI.HtmlTextWriter(tw) Response.AddHeader("content-di ...