سؤال

I am using MVC3. I want to read data from Excel sheet which will be saved inside one folder of my application. Row by row I have to validate the data. Finally have to show the same in tabular form on view. If there are validation problems then those cells should have background color red.

So, I am want solution to read data from Excel and showing in tabular form on view as told. What features I can use for this in my MVC application.

هل كانت مفيدة؟

المحلول

I would recommend using Open XML SDK or EPPLUS to do this. If using old excel .xls I would recommend using OLE DB

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top