hai friends....
i am writing the code like below,for download/read/cancel a file...
(most of could have done this)
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
Response.AddHeader("Content-Length", file.Length.ToString());
Response.ContentType = "application/octet-stream";
Response.WriteFile(file.FullName);
Go to the complete details ...