Click here to Skip to main content
14,770,033 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:

I am a newbie to C# and I need some suggestions on the below query.
I have a .csv file which is in 100's of MB's and some data logged into it with some 100's of columns and rows.

The task is to read the file and generate a graphical views of the results logged in it and save it as .pdf.

Can anyone suggest the best and efficient way to implement this?

-Thanks in Advance.

1 solution

1.For reading and parsing the CSV file you can use OleDbConnection
Here is an article that explain this: Using OleDb to Import Text Files (tab, CSV, custom)[^]

2.Then for generating PDF report you could use iTextSharp library.
You could have a look in the next article: Text2PDF[^]

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