protected void Page_Load(object sender, EventArgs e) { string filePath = "../uploads/hetong/" + Session["hetong"].ToString(); PDFPreview.Priview(this, filePath); }
protected void btnPDF_Click(object sender, EventArgs e) { string filePath = Server.MapPath("~") + @"\DemoFiles\Test.pdf"; PDFPreview.Priview(this, filePath); }