Click here to Skip to main content
16,004,727 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi I am trying to bind Excel document data into Gridview. But in my system i dont have MS office. Do it required compulsory..?. Or i can work/Bind Excel Document Without MS Office.
Please help me on this issue.

Regards
Rajus
Posted
Comments
Sergey Alexandrovich Kryukov 1-Feb-16 15:02pm    
This is probably ASP.NET, not "ASP" (ASP.NET is not ASP). It is not required unless you use Office interop or automation, which is not recommended by Microsoft in server settings.
And better don't consider Excel as database...
—SA

There are various libraries which let you read and create Excel spreadsheets on the server without having Office installed. For example:

Alternatively, you could use ODBC to read the file:
.net - Reading Excel files from C# - Stack Overflow[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 1-Feb-16 17:21pm    
5ed.
—SA
Its depend upon a code you used to read excel file, If you have use OLEDB object to read excel file then there is no need to install EXCEL application otherwise if you have use COM INTEOP object to read EXCEL then installation is mandatory.
 
Share this answer
 

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



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