I'm really confused on how to go about doing this. - I want to be able to upload an excel sheet from my web app using the fileupload control. - Next, I want to read each individual row under the first row. (so starting from row 2, row 1 will be the column title). - Finally, I want to pass the Strings I've read into another method that'll do what i want with it and then post to a gridview.
How I intend to do so... Since I have my web app published on the network, hosted on my local box... my usual savepath for the file uploaded (desktop) doesn't work. So i thought to save it onto a SQL Server that is also hosted on my local box.
Therefore, I guess I'm trying to: - Save the uploaded excel onto a SQL database. - Read each line from the excel and pass it through the intended method
Okay, that was super confusing. There must be an easier way to do this! (do i really need a SQL database?) Oh, and any good ideas for my savePath?