if (e.CommandName == "Download")
{
string strFileName = e.CommandArgument.ToString();
string str = ConfigurationManager.AppSettings["AppPathRead"].ToString() + "/"+ strFileName;
FileInfo fileInfo = new FileInfo(str);
if (fileInfo.Exists)
{
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=" + fileInfo.Name);
Response.AddHeader("Content-Length", fileInfo.Length.ToString());
Response.ContentType = "application/octet-stream";
Response.Flush();
Response.WriteFile(fileInfo.FullName);
}
Save pdf smaller size mac online
-
High image quality, bring your ideas to life save pdf smaller size mac
online beautiful presentations. and instantly got the shrunken file!
Although the de...
8 years ago

No comments:
Post a Comment