How do I export a complete web page to MS Excel? Only the page content and not all content is in gridview. Any thoughts?
By setting response content type you can achive this , something like this
Response.ContentType = "application/force-download"; Response.AddHeader("content-disposition", "attachment; filename=Print.xls")
please have read this previous thread
slimbunnyxport a complete web page to MS Excel?