C# how to read data from file

Page 1 of 1

1 Replies - 300 Views - Last Post: 06 October 2012 - 12:13 PM Rate Topic: -----

#1 veena_vb  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 06-October 12

C# how to read data from file

Posted 06 October 2012 - 11:16 AM

i have csv file witch contains 4 tableinfo
for example
csv file format is like this:
file:
dog details[keyword dog details is used in csv to identify dog details start after this]
dog1; AAA ;AAAA; AAA; AAAA
dof2; AAA ;AAAA ;AAA;AAAAA
CAt details [keyword cat details is used in csv to identify cat details start after this]
cat1; AAA ;AAAA; AAA; AAAA
cat2; AAA ;AAAA ;AAA;AAAAA
bAt details [keyword bat details is used in csv to identify bat details start after this]
bat1; AAA ;AAAA; AAA; AAAA
bat2; AAA ;AAAA ;AAA;AAAAA

how i could parse this csv file in C# to get each animal details separately based on keyword given? any idea?

Is This A Good Question/Topic? 0
  • +

Replies To: C# how to read data from file

#2 tlhIn`toq  Icon User is online

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5578
  • View blog
  • Posts: 11,924
  • Joined: 02-June 10

Re: C# how to read data from file

Posted 06 October 2012 - 12:13 PM

moved out of challenges
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1