Click here to Skip to main content
12,546,044 members (54,811 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#
I need help in exdtracting the signature data and storing it in my sql db. I can get the data from the other fields like textboxes, but i am having trouble getting the data from a signed field. GetFieldValue doesnt seem to show me anything when i ask for the signature field. I created my pdf with IText and embeded it in my webform. I placed a button with submit action that sends my pdf data (FDF) to another webform. In this webform i try tp handle the data in the pageload event.

protected void Page_Load(object sender, EventArgs e)
                HttpRequest pdfRequest = Request;
                System.IO.Stream istream = Request.InputStream;
                //XfdfReader xfdf = new XfdfReader(istream);
                //Label1.Text = xfdf.GetField("Test Officer");
                FdfReader fdf = new FdfReader(istream);
                string pdfFields = 
                    "Test Plan Number: " + fdf.GetFieldValue("Test Plan Number") + "<br>" +
                    "Test Officer: " + fdf.;
                Label1.Text = pdfFields;
            catch (Exception ex)
                Label1.Text = ex.Message + System.Environment.NewLine + ex.StackTrace;
Posted 3-Oct-11 7:22am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.161018.1 | Last Updated 3 Oct 2011
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100