{
Response.ContentType = "application/x-msdownload";
string filename = "attachment; filename=" + "price list.jpg";
Response.AddHeader("Content-Disposition", filename);
string filepath = "images/Price List.jpg";
Response.TransmitFile(Server.MapPath(filepath));
}
catch (Exception ex)
{
lblMsg.Text = ex.Message;
}[/code]
一般上我是这样写的,使用电脑游览器的话,可以下载到图片 ,
但是我一但用手机 ,下载到的照片就是损坏的 。
想问手机和电脑的下载代码是不是有差异 ?
谁有代码吗 ?