Guys,
I have a text file which is comma delimited and information. Each information is ended by end of line and started again with comma delimited i.e.
1,2,3,a,4
2,s,4,5,6,7,8,h
2,3,5,7,f,h,j,d ,d
What i need to do is pick a line and then put this in a array. then reference it like this:
ar(1)=1
ar(2)=2
.
.
.
ar(5)=4
now i dont want all the data to dumped into sql table.
i pick 1,3 and 5 to dumped into a sql table.
can some tell me how to do this in a very professional and optmized way.
Resources:
Text file comma delimited
Visual Basic project
SQL server database
I have a text file which is comma delimited and information. Each information is ended by end of line and started again with comma delimited i.e.
1,2,3,a,4
2,s,4,5,6,7,8,h
2,3,5,7,f,h,j,d ,d
What i need to do is pick a line and then put this in a array. then reference it like this:
ar(1)=1
ar(2)=2
.
.
.
ar(5)=4
now i dont want all the data to dumped into sql table.
i pick 1,3 and 5 to dumped into a sql table.
can some tell me how to do this in a very professional and optmized way.
Resources:
Text file comma delimited
Visual Basic project
SQL server database
Comment