pdftotext conversion in asp.net..

Posted by Gopal_nivas under ASP.NET on 11/12/2010 | Points: 10 | Views : 1711 | Status : [Member] | Replies : 1
hi..
i want to convert pdf to text..

after converting tat text file i want to store that text file in an xml format into database..

how to do this..


give some examples...
need ur suggestions...

regards
gopal.s




Responses

Posted by: Vuyiswamb on: 11/25/2010 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
Good Day Gopal

To Convert it PDF to Text follow this Article http://www.codeproject.com/KB/string/pdf2text.aspx

or you can do it this way

File.Move("CurrentFileDirectory","NewFileDirectory");

CurrentFileDirectory = @"C:\Documents\YourFile.Text";

NewFileDirectory = @"c:\Documents\Yourfile.XML";

and to Convert your textfile to Xml Follow this article


Or what you can do , you can convert your text file to csv and convert it to xml like this
http://dotnetdud.blogspot.com/2008/10/c-csv-to-xml-conversion-csv-to-xml.html

Hope it Helps


Thank you for posting at Dotnetfunda
[Administrator]

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response