Upload Excel File and Extract Data from it and put that data in database using MVC asp.net

后端 未结 1 1436
情深已故
情深已故 2021-01-28 11:37

I want to upload an Excel File using (HTML.Input) in some folder in server and also want to extract data from it and put that data in database. So Is there any smart way in MVC

1条回答
  •  借酒劲吻你
    2021-01-28 11:57

    There is no such smart way. You will have to:

    1. Upload the file.
    2. Connect to Excel using existing ODBC mechanism. Find out connection string for excel.
    3. And do the processing accordingly.

    0 讨论(0)
提交回复
热议问题