Reputation: 0 Apprentice
- New Members
- Active Posts:
- 6 (0.03 per day)
- 06-October 12
- Profile Views:
- Last Active:
- Oct 09 2012 10:24 AM
- Dream Kudos:
Posts I've Made
Posted 9 Oct 2012THANKS FOR THE REPLY...i ll checkit out...and i will post how i have done this...so u could have a look and comment on that
Posted 9 Oct 2012What about my suggestion?
thanks for the reply...but this csv is not well structured...in the sense it can be like for example
col1 col2 col3
dog1 dog2 dog3
col1 col2 col3
cat1 cat2 cat3
so in this case ....how i could create parser? each time im reading line and searching for striung and then add details...is this correct?can anyone guide me
Posted 9 Oct 2012looks like you just need to read the file and split at the ;
the output doesn't look hardly any different than the file.
have you coded anything? any attempt at all? what specific issue are you having with your code?
yes i have done bit coding part but seems to messier
i could add the algorithm/steps wat i have used in my code...
1: read the file
2; read lines till end of stream
3: then split the line using delimiter ;
4: After split the line, check first string is dog or cat ot bat
5: then if it is cat i have written method to fetch dog info
butstill i m not happy with this,...is there any possibilities to do this in linq...can anyone guide me
- Member Title:
- New D.I.C Head
- Age Unknown
- Birthday Unknown
veena_vb hasn't added any friends yet.