Hi,
I want to read csv (Comma Separated Values) file content in VB.Net
I want read entire values in file store in the fixed blocks ( say array )
Please guide me for reading the csv file content in VB.Net. Also how to get count of the data
in csv file so that i can create blocks of data at runtime.
Thanks
Mukesh
:)
MukeshZ
0
Newbie Poster
Recommended Answers
Jump to PostPlease note guys, and anybode else who comes here from searching for a solution to the problem of parsing CSV data:
The code posted in this thread does not parse CSV data in any but it's most excruciatingly simple form.
You cannot just split on commas because a) …
Jump to PostI know this thread is probably not active anymore but I suggest checking out this helpful post at StackOverflow: http://stackoverflow.com/questions/736629/parse-delimited-csv-in-net
Jump to PostWell, that's interesting code, but did you think that after 9 years anyone was still waiting for it?
And if you had bothered to read the thread before posting you would know that a CSV file may have quoted strings containing commas. People have already thought about that, discussed it …
Jump to PostIt's more practical to change the file extension from .csv to .txt and, then, open with Excel.
All 14 Replies
KillerOfDN
-7
Junior Poster in Training
pmardle
0
Newbie Poster
Paul Norris
0
Newbie Poster
AycheKay
0
Light Poster
DmanMike
0
Newbie Poster
G_Waddell
131
Posting Whiz in Training
Jason_5
0
Newbie Poster
Turtle28787
0
Newbie Poster
Arvind_4
0
Newbie Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
xrjf
213
Posting Whiz
Premium Member
xrjf
213
Posting Whiz
Premium Member
xrjf
213
Posting Whiz
Premium Member
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.