reading a pipe delimited text file

CRP

Member
Joined
Oct 30, 2007
Messages
11
Programming Experience
3-5
I need to read a text file which is delimited with pipe symbol and then save the contents of the text file in sql server using vb.net. How to achieve it. I need the full coding. Pls help. I am new to vb.net
 
CRP can get the Studio to write most of the code to parse the file ;) Use the Insert Snippet feature and choose category 'Processing files' and select the 'Read a Delimited Text File' snippet, then change the default separator from comma to pipe character. The code give you a String array for each line read.
 
and then read the DW2 link in my signature for how to read and write a database.. Start with Creating a Simple Data Ap p
 
Back
Top