SqlBulkCopy not importing data from Excel RRS feed

  • Question

  • I'm doing a simple project exporting data from Excel to SQL Server with Visual Studio 12 and C#. I managed to import from Excel to a DataSet, but not insert them into my database, although the code is showing a positive message box that I've set to tell me when it is OK.

    It's saying that my data was successfully exported to SQL, but when I choose "show table data" no data is shown; the table is empty. 

    Saturday, July 26, 2014 11:17 AM