I'm writing my first ASP.NET 4.0 application using C# with VS2010.
I am trying to export a stored procedure result set to Excel 2003.
When I create the new Excel file, I noticed that it is named DEFAULT.XLS.
DEFAULT is the name of the web page.
Do you know how I can modify my code to assign the newly created Excel file the file name Contacts.XLS rather than Default.XLS?
My code is in the attached file: