views:

10

answers:

0

Hi, I have written a code in asp.net 2.0 to allow the user to download an Excel file. Before downloading the excel i have made some changes to the file. When i try to download the excel using the below code

 Response.TransmitFile(Server.MapPath("~/Excel Files/Data.xls"));

But each time when the user downloads the file the file is downloaded from the temp internet files. The latest changes are not reflecting for the user.

How to avoid the file being downloaded from temp. Thanks.

Regards, Jebli.