Click here to Skip to main content
15,891,908 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to read text Delimited file
Posted
Updated 25-Dec-12 6:14am
v3
Comments
Adam R Harris 6-Dec-12 18:27pm    
Delete that entire sample right now, I'm sure your clients would be pissed right off to know you just posted their private information on a public website. Then take a small subset of your sample and replace the real world values with fictitious values so you don't violate any privacy laws.

After that loom at the StreamReader class and String.Split method
DinoRondelly 6-Dec-12 18:29pm    
Good point and it looks like the Bank of India no less !!
vikram5412 8-Dec-12 9:05am    
these are demo clients.
DinoRondelly 6-Dec-12 18:28pm    
Reading the file is easy
Reading the file
using (StreamReader sr = new StreamReader("YOURFILE"))
{
//Do what you want
}
ThatsAlok 6-Dec-12 21:36pm    
You might require custom parser for it... i could provide that service for charge :-) .. you need to parse the file, since being in banking domain, i can recommend you need to check incoming data for you your customized parser for example you might need to check header line for you incoming data, since it's for account balance report, it would be a contant format at header and only data would be changing. so you have read each line for possible custom scenario

1 solution

 
Share this answer
 
Comments
vikram5412 9-Dec-12 10:42am    
Can read this file, but i need to read this file to read in grid view.

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