Search:

Type: Posts; User: jmcilhinney

Search: Search took 5.52 seconds.

  1. VS 2015 Re: Import date from CSV to sql table with sqlbulkcopy

    'data' is a String array in your code. You're not converting the whole array to a Date, just one element of that array.

    Don't set the ItemArray and set fields explicitly. Do one or the other. ...
  2. VS 2015 Re: Import date from CSV to sql table with sqlbulkcopy

    When you save data to your database, it has to be the type that the database expects. If you're reading data from a text file then it is all Strings to begin with. If the database expects anything...
Results 1 to 2 of 2



Click Here to Expand Forum to Full Width