评论会员:游客 时间:2012/02/07
ManavGuru:试试这个网址.....................imgsrc=]
koolprasad2003:可以显示图像的PDF文件{BR }
private void ReadPdfFile()
{
string path = @"c:\test.pdf";
WebClient client = new WebClient();
Byte[] buffer = client.DownloadData(path);
if (buffer != null)
{
Response.ContentType = "application/pdf";
Response.AddHeader("content-length",buffer.Length.ToString());
Response.BinaryWrite(buffer);
}
}
评论会员:游客 时间:2012/02/07
amitgajjar:嗨,可以添加的iFrame在您的网页,该iframe的网址,将您的PDF文件的位置。这样你可以显示PDF容易。感谢。艾米特