364,033 Members | 4804 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

How To Join More Than Two .csv file?

arunsan3
P: 4
Hello friends,

I want to join more then two .csv fileas single .csv file please give some suggestions.


Thank You.
Apr 27 '10 #1
Share this Question
Share on Google+
4 Replies


Monomachus
Expert 100+
P: 111
@arunsan3
Explain how do you want to do it ? Do they have exactly the same structure and only data from one csv to another differ?
Apr 27 '10 #2

arunsan3
P: 4
@Monomachus
Hi Monomachus,
Actually i have five .csv files with same format but different values so i want to join all five csv to one csv file....
Apr 27 '10 #3

ThatThatGuy
Expert 100+
P: 426
@arunsan3
So what's the big deal ... load files one by one .. from may be a file stream...

append the text retrieved from all of the CSV files to a string

Note: Do add a NewLine (Environment.NewLine) at the end of each string retrieved from file...

Save it to a new file....
Apr 27 '10 #4

Monomachus
Expert 100+
P: 111
@arunsan3
Hi,
Please checkout this post of mine Code4Food #6: How to join multiple CSV files with the same structure ? and download the source code to see different CSV files.
Apr 27 '10 #5

Post your reply

Help answer this question



Didn't find the answer to your C# / C Sharp question?

You can also browse similar questions: C# / C Sharp