If I submit a pdf form to a .aspx URL as FDF data how do I read the FDF data once there with C# codebehind? What kind of Object do I put it in to then read the Key/Value pairs?
POST FDF data to aspx page
Re: POST FDF data to aspx page
Support · Jun 18, 2008Hello,
We are not sure on reading the FDF data using the C#. It is not possible to read the data from the FDF files using our product.
You can create PDF files from scratch and you can generate the PDF reports directly using the data from a database. The generated PDF can be saved to the disk or viewed in the browser using our product. You can also fill the form fields of an existing PDF with data using our product.
Thanks,
ceTe Software Support Team.
Re: POST FDF data to aspx page
Forum member · Jun 18, 2008I figured it out:
byte[] b = new byte[(int)Request.InputStream.Length];
Request.InputStream.Read(b, 0, (int)Request.InputStream.Length);
thePage = new System.Text.ASCIIEncoding().GetString(b);
Re: POST FDF data to aspx page
Forum member · Jun 19, 2008After further review I have made a slight change:
thePage = new System.Text.UTF8Encoding().GetString(b);