Write C# Windows Console application to insert data from excel into MS SQL Server -- 2

In Progress Posted Sep 14, 2014 Paid on delivery
In Progress Paid on delivery

I need a c# console application written that will read connect to a test MS SQL Server database (I will provide the connection string). The program will open an Excel file (I will provide) and read the data row by row (in a loop) and insert each record into the SQL database. Before the insert, the program will merge some cell values into a single value separated by commas, and will change letter values (codes) into strings (mapping is in .jpg). Sometimes the string will be too big for the column, so the data will be truncated at the last full code value before the insert. Some columns in the database will have default values (I will provide). If a row already exists in the database it will be left alone. The program will produce a text file a the end of the run listing: total input records, number of duplicates not inserted, and number of inserted records.

You may not use Bulk Copy, you may not change the structure of the database table, this is a console windows application. It must be written in c#. A milestone of 1/3 of the project cost will be released once the code is reviewed, another 1/3 of the project cost will be released with the code is tested on the test server, and the final 1/3 will be released when the code is put on the production server and working.

I expect that a this project could be profitable at under $100

A question was asked what does merge some cells into a single value separated by commas and change letter values...

The spreadsheet has several columns containing a single letter. The letter A for example means 'water pump', letter B means 'solar energy'. These excel columns must be translated from A, or B, or .... to the text values separated by commas into a single SQL Server column. There are 4 SQL server columns that need to hold these data, and about 25 excel cells (columns) that must be translated. The SQL column has a maximum character size of 100, so the values that is inserted must be truncated to the last whole text value. So the column for the example above would be Insert into xxx values (col1,...) values ('water pump, solar energy'). You cannot insert ('.......solar ener') it must end with a whole element and no trailing comma.

I have attached the code to value translations.

C# Programming Excel Microsoft SQL Server

Project ID: #6454911

About the project

33 proposals Remote project Active Sep 16, 2014

33 freelancers are bidding on average $126 for this job

aruny308

Hi, I can do it. I'm very interested in your project. I would like to work on your project. Thanks . . . More

$45 USD in 2 days
(119 Reviews)
6.8
XeeChaun

hi. I've worked a lot in C# using databases (MySQL, MS-SQL, Access etc). I've also built many Excel Add-ins for automating the tasks. here are the links to some of my excel projects: (https://www.freelancer.com/project More

$450 USD in 8 days
(113 Reviews)
7.0
samitXI

A proposal has not yet been provided

$105 USD in 2 days
(46 Reviews)
6.0
expertatwork

hey there, We went through your description and we are good to implement this in C# (read Excel values, some preprocessing and then insert into mssql Server DB). And you are correct- this is profitable for a 100$ and w More

$74 USD in 3 days
(171 Reviews)
6.0
dragos1910d

Propunerea nu a fost încă furnizată

$200 USD in 3 days
(85 Reviews)
5.7
Windowfreak1985

can u explain this please "Before the insert, the program will merge some cell values into a single value separated by commas, and will change letter values (codes) into strings (mapping is in .jpg)." ?

$105 USD in 3 days
(10 Reviews)
4.8
DeoTech

Hello, I have more than 14 years experience in MS SQL and 7 in C#. Application can be console and all data will be inserted into MS SQL tables. Regards

$155 USD in 3 days
(11 Reviews)
4.5
th3s33k3r

Hello, I would be glad to work on this project. I have 7+ years of experience in C# and SQL, and almost as much in handling XLS, XLSX and CSV files. Which Excel format do you use? How many lines does a file have? Ca More

$100 USD in 3 days
(4 Reviews)
4.4
GhaziOualha

A proposal has not yet been provided

$100 USD in 3 days
(10 Reviews)
4.2
ahmedsobherfan

Hello, i am expert in C# , i did similar jobs before plx send me the connection string , excel sheet to begin i aggree for your payment paln waiting your answer Regards

$90 USD in 2 days
(26 Reviews)
4.0
RKYSP

Hi, I am an individual freelance, having more than 10yrs of exp in developing applications, window & web based, using .Net (C#.Net, Asp.Net (MVC), XML, WPF, WCF (Webservices) kendo ui, MySQL and SQL Server etc). More

$200 USD in 3 days
(12 Reviews)
4.0
ibbuzz

Hi, I can do this job for you; I will provide long support as well. Will love to work on this project and build long term relations. We are looking forward to hear from you. Thanks and regards!

$155 USD in 3 days
(9 Reviews)
3.6
gperete

Software developer since 2000 specializing in Visual Basic, SQL server, and Crystal Reports/VBA for Microsoft Office

$100 USD in 1 day
(3 Reviews)
3.3
TAHKuCT

ready start

$97 USD in 3 days
(4 Reviews)
2.9
istvanvarro

Negotiable. Sincerly i don't like this. It is a big error to store data in this format. You should use 3 tables in mssql instead of 1: 1. The current table would be the master table. 2. There would be a table contai More

$100 USD in 5 days
(7 Reviews)
2.7
debabratamandal

Hi, I am very efficient in data transformation using user code and I will not use any kind of bulk copy. Please provide me the full requirement with you sample excel file and a database connection. Assume you database More

$111 USD in 7 days
(3 Reviews)
2.5
rjoysarkar

I have exp of total 7 yrs. in .net C#, worked on ASP.net,Win form,wcf,wpf, now working on windows phone,Store app, android and ios phone app using xamarin,SqLite. Have done project using mvvm cross also. Worked on dom More

$244 USD in 10 days
(2 Reviews)
2.3
dgagan

Hi, I am a .NET Developer having 8+ years experience in Development Maintenance and Enhancement of .NET Desktop and Web Applications with C#, VB.NET and ASP.NET-MVC According to your job description: - I am co More

$277 USD in 5 days
(2 Reviews)
1.7
vizgro

We are a group of designers and developers who work as freelancers and that way we can keep our cost low. So you get best in class quality at very affordable rate. Moreover, we have a team of data entry professional More

$30 USD in 3 days
(2 Reviews)
1.3
tigga87

hello I can make the script I have four years experience in dot net development with sql server, I'm available

$99 USD in 1 day
(1 Review)
0.0