Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7860009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:07:00+00:00 2026-06-02T22:07:00+00:00

I need to read XLSX files and extract a maximum amount of content from

  • 0

I need to read XLSX files and extract a maximum amount of content from it. Which of the API’s should I use?

OLE DB, open XML SDK, or Excel Interop?

  • Which is the easiest to use?
  • Can you retrieve all the information using one or the other? i.e, date, times, merged cells, tables, pivottables, etc.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T22:07:01+00:00Added an answer on June 2, 2026 at 10:07 pm

    You can try all of them and choose the one that fits you most…

    Depending on data you want to read, I’d suggest you to use Open XML over Interop or Ole DB.
    I don’t know an open XML SDK, although I’ve some experience with EPPlus library which I’m using a lot and can say only good words about it – it’s fast, easy to learn, with good examples. The library is basing on Open Office XML format, so I suppose it’s pretty much the same as the SDK you’ve mentioned, and is capable of easy read and write Excel 2007 and 2010 files.
    On the linked web, you’ll find a library itself, documentation and some example “Hello World” projects to download.

    Why that library in the first place? Because with it you will be able to read not only cells values, but also their colors, fonts, widths and heights, merging and all that detailed stuff, that you can not only read, but modify as well. What’s more, you don’t need the Excel installed to do that.

    On the second place – just in case you need to extract tabular data from worksheet – you may play with OLE DB. I’m afraid with that you won’t be able to extract any info about formats, colors etc., as well as the data must be in a tabular organized worksheet, so you can treat is as a database’s table.

    The last one is Interop, because:
    – it’s a COM library, so you need to be very careful when playing with it via .NET, as it’s easy to cause some ugly and hard to find memory leaks (confirmed by myself bad experience) – if you don’t dispose their objects properly, it leaves the Excel.exe process opened,
    – it’s much slower than previous methods,
    – basically, it has almost no more added value that one of the previous methods (EPPlus or OleDB) and requires Excel to be installed on client’s machine, so why to use it?

    Good luck, then.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to read the editurl from one jqgrid for use in a DND
I am using phpexcel class to read .xls, .ods and .xlsx files, I need
I need read in and parse data from a third party website which sends
I have a flat CSV file which I need read from to end up
I am developing a program that need read/write some files from sdcard or internal
I need to read 16 bits from the binary file as std::string or char
I need to read certain statistics from iw_statistics structure, here's the code: struct net_device
I need to read data from XML to a List<>. The XML file contains
I need to read in an expression from a file using a string stream
I need to read and serialize objects from and to XML, Apple's .plist format

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.