aothomas42
asked on
Read tab-delimited text file into datagridview
The attached file is a copy of a file that I need to read into a datagridview.
What I need to do is skip the first 17 lines and then check if the UBOUND is > 2 and begin reading the file
and when the UBOUND < 2 to stop.
Thank you in advance.
example.txt
What I need to do is skip the first 17 lines and then check if the UBOUND is > 2 and begin reading the file
and when the UBOUND < 2 to stop.
Thank you in advance.
example.txt
ASKER
Ok i got that. How do I skip lines though. And can I do a myarray.length to get the number of values in the array
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Please gothrough the following links..
https://www.experts-exchange.com/questions/21858837/CSV-import-to-DB-through-VB-NET.html
http://www.getdotnetcode.com/nexDotNet/020017ParseTabDelFileVBTextFieldParser/ParseTabDelFileVBTextFieldParser.htm
Regards,
M.Raja