Exporting contents to an Excel spreadsheet can be done simply by setting the MIME type of a response to fit the format of an Excel sheet and writing the contents of GridView to the response stream. ...