Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
8
Answers
text file data we need in column way using c#
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
meenakshi mehra
10y
2.6k
1
Reply
sir ,,,I have multiple text files each having two columns data with headings .I have merged all those files into one .now all the text files got merged and results into a single text file "output.txt" In this text file each file is added at the end of first file with its heading and data .
Like this :
Wavelength
S100141.asd
325
0.015082292401682
326
0.011690540571175
327
1.06575414031349E-02
328
1.30298010496599E-02
Wavelength
S100144.asd
325
1.35059549289737E-02
326
0.010981114226419
327
1.22348778870862E-02
328
1.63555124470031E-02
Wavelength
S100147.asd
325
1.35059549289737E-02
326
0.010981114226419
327
1.22348778870862E-02
328
1.63555124470031E-02
I want the result to appear like this :
Wavelength S100141.asd S100144
S100147
325
0.015082292401682 1.35059549289737E-02
1.35059549289737E-02
326
0.011690540571175 0.010981114226419 0.010981114226419
327
1.22348778870862E-02 1.06575414031349E-02 1.22348778870862E-02
328
1.63555124470031E-02 1.30298010496599E-02 1.63555124470031E-02
anybody can help
Post
Reset
Cancel
Answers (
8
)
Next Recommended Forum
Sign DLL with strong name(.snk)
Nearest Hospitals near my current location using here map