View Single Post
  #3 (permalink)  
Old November 12th, 2004, 05:35 PM
jaucourt jaucourt is offline
Friend of Wrox
 
Join Date: Jul 2003
Location: York, , United Kingdom.
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Default

If the data you're trying to import from the CSV will always have the same columns, you'd be best off creating a strongly-typed dataset. To do this, in the solution explorer right click and choose to add a new item, then select dataset.

You'd be best off doing a ado.net tutorial; try a search on google, or http://visualbasic.about.com/od/lear...cvbsbs2001.htm

Once you're happy with datasets, you can populate one from a csv file through using the streamreader classes in the System.IO namespace