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 6607305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:29:21+00:00 2026-05-25T19:29:21+00:00

My current scenario is that I have 20 Excel files that need to be

  • 0

My current scenario is that I have 20 Excel files that need to be populated by running multiple scripts. Currently this is a manual process. I am about to start a small project that should automate most if not all of the work.

Tools:
I am currently using Excel 2007, but could potentially be working with Excel 2010 in the near future. I am currently planing to use VS 2005 Professionl or C# Express 2010.

My approach is to create templates for the 20 files, so that formatting and data that is not changing is already saved. Through C# I plan to then insert data at appropriate cells within each “Sheet” per file.

I have come across multiple approaches that I read on (here and other sites), namely –

  1. Excel Interop
  2. OLE DB
  3. ADO.NET
  4. Open XML

I am trying to find out if someone has done something similar before and which one of the technologies would work best (if possible with some explanation or link for more information).

I am sorry if the question is too subjective and not appropriate. I will understand if someone decides to close it.

Thanks.

  • 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-05-25T19:29:22+00:00Added an answer on May 25, 2026 at 7:29 pm

    I might be missing something, but I would think OLE DB and ADO.Net end up being the same if you are talking C#. Basically, you would use the OLE DB provider for Excel for ADO.Net.
    I recommend http://www.connectionstrings.com/ for how to setup your provider.

    However, if you are going to use templates, it’s pretty easy. Just setup your “tables” in your Excel files. Make sure you use named ranges. All that is left is to write some basic SQL like:

    INSERT INTO customers(id,name) VALUES (?, ?)
    

    And that is it. I have used it occasionally for data manipulation. I do use it far more often for data reading.

    Regards,

    Eric.

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

Sidebar

Related Questions

Our current scenario is like this: we have an existing database that needs to
This is my current scenario: I have checked in my grails app code +
The current issue im facing is comes from the following scenario. I have a
We have a scenario where some .NET code is attempting to access the current
I have a simple (actually simplified :) ) scenario that is possibly the cause
The scenario I am facing is that I have an ASP.NET web service (.NET
So the scenario is this: I have a mySQL database on a local server
We have currently just master branch. Our current workflow involves implementing the features locally,
The scenario We have a web application that makes a call to a web
Scenario is I have a application relative url like ~/path/to/page.aspx?query=string. I need to programatically

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.