Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Any ideas on how I can do this?

Posted on 2011-09-21
4
Medium Priority
?
228 Views
Last Modified: 2012-05-12
I have this process that I'm going to have to do weekly :

I have a "SKU" field (will be used for the ID field) and a "Inventory" field from an Excel .xls sheet I download weekly.
I need to use those 2 fields to update some fields in a Table in a SQL Server database.

I could use C# code and/or SQL.

What would be the easiest way to do this?

0
Comment
Question by:MikeMCSD
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 6

Accepted Solution

by:
bartvd earned 668 total points
ID: 36575954
0
 
LVL 13

Assisted Solution

by:jonnidip
jonnidip earned 668 total points
ID: 36578373
I suggest you to use Excel DataReader (http://exceldatareader.codeplex.com/), to read from your files.
It is a very good implemented library and lets you work with xls (in reading) without using interop.

Regards.
0
 
LVL 7

Assisted Solution

by:tampnic
tampnic earned 664 total points
ID: 36579468
One option is to create an Access database - use ODBC to create table connections to the main database and the Excel file. Create an Access Query to read the Excel table and INSERT/UPDATE/whatever the database table - you can run functions on the data and validate it before sending to your database if you want. Simple to setup and very flexible - though not as automated as writing something in code. The code route could get tricky depending on your experience, if you're comfortable with SQL this option would look attractive.

Cheers,
  Chris
0
 
LVL 16

Author Comment

by:MikeMCSD
ID: 36584596
Excellent suggestions. Thanks all.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

721 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