I need to import an excel file into an SQL database. There are certain complications in reading though. I am getting the files in a pre-defined format. I have attached the format. I have headers marked in yellow background. So there are 2 types of Information that I receive in the excel spreadsheet. The first set of data will be just a single row and will be dumped in to my header table. The second set of data will be multiple rows and will be dumped in to a details table. So I need to read the first set of data first and dump it in to database and then read the second set of data and dump it in to details table. Also there will be multiple worksheets in the file which I need to read and get the data.
Thanks,
Parag
Start Free Trial