C# CSV Reader is the fast, easy to use library for all your file reading needs. It is designed as a .NET library that you can add to your .NET solution and get parsing within minutes. Files are still a popular way of exchanging data, and this library will allow you to read a variety of different formats in a breeze, saving you the time of developing and debugging from scratch. A robust, tried and tested technology you can rely on.
This example assumes you have a file on your system called C:\data.csv which is simple text file containing data consisting of comma seperated values.
Or, open a Fixed Width File
With a fixed width file you need to tell it how many columns to expect and how many characters wide each column is. In this example we are opening a file with five columnes, each being 10 characters wide.
How to save your data into a CSV file:
Saving as Fixed Width file
Tell the FixedWidthFileWriter how many columns to designate for each column. This can be passed in explicitly, or in this example we are using fuzzy logic to work out the column widths for us, based on existing data:
Opening a CSV file and saving the output as an XML file is really easy!
Simple |
---|
Buy Now |
|
corporate license$89 |
Multiple Sites |
---|
Buy Now |
|
corporate license$199 |
Cloud |
---|
Buy Now |
|
corporate license$299 |
Commercial Product |
---|
Buy Now |
|
royalty free license$999 |
The following are a list of our latest builds.
Please try to search through or post on the Forums first before asking a question, and if you are not able to find anything there to help you, then feel free to drops us a line.