Click here to Skip to main content
Sign Up to vote bad
good
See more: C#
Hello... I am doing one project in which I need to read pdf file and then write it in a textbox.
Can somebody help me??
 
I have used iTextSharp named dll file but it is showing me error in namespace
using System.Web.UI;
using System.Web.UI.WebControls;
using iTextSharp.text.pdf;
using iTextSharp.text.pdf.parser;
How to remove this error? and can you please tell me the code to read a pdf file and then write it to a textbox???
 
[edit] Added code blocks [/edit]
Posted 20-Nov-12 23:19pm
Edited 21-Nov-12 1:21am
Tadit Dash29.5K

Comments
choudhary.sumit - 21-Nov-12 6:39am
what error u are getting?

1 solution

Since PDF is an binary format you'll have to use a pdf-library like pdflib in order to read pdf-files.
 
pdfLib
  Permalink  
Comments
Member 9617941 - 21-Nov-12 12:06pm
Thnkx omisheikh. but can you please elaborate it?? i mean how to use it and do you know code to read pdf file??
omisheikh - 22-Nov-12 5:07am
yeah sure there are many third party tools which are used to read pdf files i have mentioned one of that in my first comment. there is another library name as iTextSharp have a look on this link.. http://www.codeproject.com/Articles/277065/Creating-PDF-documents-with-iTextSharp

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Christian Graus 539
1 Michael Haephrati 390
2 Prasad_Kulkarni 273
3 OriginalGriff 245
4 samadhan_kshirsagar 235
0 Sergey Alexandrovich Kryukov 6,959
1 Prasad_Kulkarni 3,679
2 OriginalGriff 3,384
3 _Amy 3,332
4 CPallini 2,925


Advertise | Privacy | Mobile
Web01 | 2.6.130617.1 | Last Updated 21 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid