Upload Excel file and extract data - asp.net mvc 3

前端 未结 4 433
终归单人心
终归单人心 2021-02-04 14:51

I am wondering how do I extract data out of a 2007 excel file? I am using asp.net mvc 3. My plan is to have a upload section that you choose a file and hit upload. I have no clu

4条回答
  •  闹比i
    闹比i (楼主)
    2021-02-04 15:18

    Once you have the spreadsheet uploaded and you save it to a file on the web server it is quite easy to use LINQ to select the rows from the spreadsheet. Check this out for more info.

    http://code.google.com/p/linqtoexcel/

提交回复
热议问题