Click here to Skip to main content
15,906,624 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
See more: ASP.NET Hi friends,

I am using VS 2005,asp.net,c# .
I have a web application.
I want to know whether the first sheetname of an excel file is EXCELDATA or not
How to do this?

Thanks in advance
George
Posted

1 solution

Unless you only work with xlsx then you need to use Excel interop, this article seems to look into your exactt problem C# - Retrieve Excel Workbook Sheet Names.[^]

If you only use xlsx then you can also do as desribed in Read and write Open XML files (MS Office 2007)[^]
 
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