?
Solved

want to read the text file and store into the list.

Posted on 2014-04-14
1
Medium Priority
?
282 Views
Last Modified: 2014-05-16
Hi experts,

I have text file like this. I want to read the file and store it into a List.

Guids         TrxDate      RefNo.
2343325    11-MAY-11    2893423POIU            
2895321    15-JUN-12    2144423WERT
2663920    10-AUG-05    2123602Y6OU
2353969    19-JAN-10    75663423TER
2569921    18-FEB-09    2123423WYUX
2309821    10-MAY-13    2999999RWRX
0
Comment
Question by:Tapan Pattanaik
1 Comment
 
LVL 14

Accepted Solution

by:
frankhelk earned 2000 total points
ID: 39998787
For code to read a file line by line, see i.e. here.

To separate the context of the lines themselves, you might use Split() (see here. Be sure to fix (if needed) double separator occurence (i.e. by applying Replace() repeatedly, see here) to ensure that the data is separated correctly.

Have fun :-)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Loops Section Overview
Suggested Courses

755 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question