Click here to Skip to main content
16,005,169 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Need a solution:
Need to upload an excel and the code to parse the excel and update the fields in the web forms.
Posted
Updated 5-Nov-13 19:23pm
v2

1 solution

What you need is the Open XML SDK:
http://www.microsoft.com/en-us/download/details.aspx?id=30425[^].

This way, you can support new XML-based Office formats (such as .DOCX, .XLSX), ECMA-376 standard:
http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats[^],
http://en.wikipedia.org/wiki/Office_Open_XML[^].

Importantly, it does not require MS Office installation. See also Microsoft articles warning against using of Office Interop in server-side environment:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757#kb2[^],
http://support.microsoft.com/kb/257757/en-us[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900