trying to import bulk data from excel sheet with softartisans ExcelWriter.i do not find much sample code to read row by row and insert into database can i get sample code to read and insert row by row in c#
imported excel file saved in temp location and started reading records
try
{
string temp_file_name = StateManager.NetworkID + DateTime.Now.Ticks.ToString() + ".xls";
this.import_file_upload_box.PostedFile.SaveAs(Server.MapPath("temp_files") + "\\" + temp_file_name);
string strConn;
recct = ThisWorkbook.Sheets("Project_Details").Range("A2", ThisWorkbook.Sheets("Project_Details").Range("A2").End(xlDown)).Rows.Count;
ExcelApplication xla = new ExcelApplication();
Workbook wb = xla.Create(ExcelApplication.FileFormat.Xlsx);
Worksheet ws = wb.Worksheets[0];
}
catch
{
}
Actual result should read row by row on imported Excel