I have an ASP.NET 2.0 web application project. I need to import an Excel spreadsheet or possibly a csv file and store it in a SQL database. I have no problem with the SQL database connection part as I've done it many times before. The problem I have is how to I read an Excel spreadsheet or csv file into my program?
The goal is to read the data into my program, manipulate it in some way (scrub out unwanted fields, etc.) and then store it in a SQL server database.
Start Free Trial