I have read some past posts here on how to download a Excel file from a website. So, I have setup the below code:
string path = MapPath(fname); string name = Pa
Try adding such HTTP headers
Content-Type: application/force-download Content-Type: application/vnd.ms-excel Content-Type: application/download