Click here to Skip to main content
12,248,777 members (46,922 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# VB ASP.NET VB.NET
How to read text Delimited file
Posted 6-Dec-12 13:14pm
Edited 25-Dec-12 7: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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 25 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100