Skip to content
Loading
  • 0
    Hi, here is a pretty simple way that you use (you will need this C# assembly for excel file formats).
    VB.NET
    DataTable table = ExcelFile.Load("excel file's paths")
                               .Worksheets
                               .ActiveWorksheet
                               .CreateDataTable(new CreateDataTableOptions("A1", 200, 4));
    
    So you just export your excel's sheet data to a DataTable object and after that just use an SqlBulkCopy.
    0
  • Munesh Sharma
    0
    http://dotnet-munesh.blogspot.in/2014/05/how-to-import-excel-file-to.html
    0