Actually, if you do not put your code here, no one can reproduce your problem, Also you do not tell which library you use. So I have to use the tool that I am familiar. look at this, it can import excel data to datatable and then, you can connect datatable with sql server by below code:
Workbook workbook = new Workbook();
workbook.LoadFromFile(@”..\FandH.xlsx”);
Worksheet sheet = workbook.Worksheets[0];
this.dataGridView1.DataSource = sheet.ExportDataTable();
http://www.codeproject.com/Catalogs/3785/Spire-XLS.aspx