Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to write a C#.NET program to read excel and put the excel content in different tables?

Posted on 2014-01-25
1
Medium Priority
?
440 Views
Last Modified: 2014-01-25
I've excel which contains 100 sheets. Based on the excel sheet names I would like to create the table names in a given database and put the sheet content over there..

There is one way that I could read each sheet using select * from [Sheet1$]" and so on... But this is time taken process.

Is there any simple way to automate this? If so, please do guide how to achieve this using sample application or relevant links. Thanks in advance.
0
Comment
Question by:Easwaran Paramasivam
1 Comment
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 39809315
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Loops Section Overview
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question