delimitted files
-
does anyone have any sample on how to read a comma delimited file.
-
does anyone have any sample on how to read a comma delimited file.
Generally you would open a file handle to the file, read a line in, then process the line, reading up to the first comma, processing that part, reading up to the next comma, processing that part... until you reach the end of the line. After this, read the next line and repeat... Stop when you reach the end of the file.
I don't have ADHD, I have ADOS... Attention Deficit oooh SHINY!! If you need a laugh, check out my Vodafone World of Difference application | If you like cars, check out the Booger Mobile blog | If you feel generous - make a donation to Camp Quality!!
-
does anyone have any sample on how to read a comma delimited file.
-
does anyone have any sample on how to read a comma delimited file.
Never underestimate the power of human stupidity RAH
-
This may help: Reading comma delimited files[^]
I don't speak Idiot - please talk slowly and clearly 'This space for rent' Driven to the arms of Heineken by the wife
reading the files in a data set is interesting but using a dataset how would I transfer the data to a string array possible a two dimensional array.
-
reading the files in a data set is interesting but using a dataset how would I transfer the data to a string array possible a two dimensional array.
Does this give you the idea?
Dim arr(ds.MyTable.Rows.Count-1, 1) As String
Dim count as Integer = 0
For Each dr as DataRow in ds.MyTable
arr(count,0) = dr("ID").ToString
arr(count,1) = dr("Name").ToString
count += 1
Next' do something with the array
I don't speak Idiot - please talk slowly and clearly 'This space for rent' Driven to the arms of Heineken by the wife
-
reading the files in a data set is interesting but using a dataset how would I transfer the data to a string array possible a two dimensional array.