Author: dinakaran | Posted on: 2/6/2010 6:06:43 AM | Views : 285

Hi ALL 
how to write a code for to downlad a file from my webapplication to stored in to local system
i have tried this code
 
//Set the appropriate ContentType. Response.ContentType = "Application/pdf";
//Get the physical path to the file.
 string FilePath = MapPath("adobe.pdf");
//Write the file directly to the HTTP content output stream.
Response.WriteFile(FilePath);
Response.End();
 
But i had debug this code ...

Go to the complete details ...