Use like this
private void OpenFiles(string Filepath)
{
FileInfo file = new System.IO.FileInfo(Filepath);
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
Response.WriteFile(Filepath);
}
Thanks
http://www.interviewsworld.com