I need to open a pdf file with form texbox included on a form. I use this code to open the pdf file.
`StreamReader streamReader = new StreamReader(GridView1.Rows[index].Cells[1].Text);
Stream stream = streamReader.BaseStream;
BinaryReader binaryReader = new BinaryReader(stream);
byte[] sendbyteArray =binaryReader.ReadBytes(Convert.ToInt32(binaryReader.BaseStream.Length));
Response.ContentType = "application/pdf";
Response.AddHeader("Content-Type", "application/pdf");
Response.AddHeader("Content-Disposition", "inline");
Response.BinaryWrite(sendbyteArray);
Response.End();`
which is working. I need to add a textbox above the pdf once the pdf file showed. is this possible? please advice. thanks
据我所知这是不可能的,但是如果您共享该文本框的目的是什么,我们可以考虑其他解决方案。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.