Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello
i need api for converting documents into csv format guide or send any links or snippets
Posted
Comments
DominicZA 29-Mar-12 6:19am    
Converting a document to a csv is pretty straight forward. Post a sample of the data that you want to convert to CSV and I will write you an example
johannesnestler 29-Mar-12 7:14am    
With documents you mean data or spreadsheet? - should be easy... just create the lines and write to file - No special "API" needed - normally you can do with plain c#
Sergey Alexandrovich Kryukov 29-Mar-12 17:55pm    
Why API? The topic is too simple for making libraries with APIs; you can simply right this code for simple string manipulations.
Wait a minute...
--SA

1 solution

Please see my comment to the question.

CSV means "comma-separated values". It's not very much of a format, and nothing like a standard; please see:
http://en.wikipedia.org/wiki/Comma-separated_values#Lack_of_a_standard[^].

This stuff is to simple to ask for an API for writing it. You would rather need help to parse what you call "documents", whatever it is. As to CSV, all you need is just System.Text.StringBuilder, please see:
http://msdn.microsoft.com/en-us/library/system.text.stringbuilder.aspx[^].

—SA
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900