Complete Simple Functions C#

  • Status Closed
  • Budget $30 - $250 USD
  • Total Bids 21

Project Description

The Brief:

We have Create a Partially completed piece of software which will generate barcodes and in turn place them onto address labels to be printed. The barcoding and labelling classes are fully functional and are ready to use. However there are three things which we are “stuck” on:

• The ability to manually “map” Excel and CSV columns to specific columns in a DataGridView.

• Generate multiple barcodes using all of the cells in a DatagridView Column Named “Tracking Number” which, In turn places the barcode into a cell next to it (Column Named “Barcode”).

• For each row in the DataGridView create a new label with using the appropriate cells under the Column Names “First Name” “Last Named” The address lines 1-4 the post code and the barcode.

What you need to know:

We will provide the full solution/Project files.

We have managed to upload Excel and CSV files into the datagridview. However we struggled being able to manually map the fields.

Creating the labels is in a separate project within the solution and is referenced. You will have to scan through the source to understand how it works.

The Barcode is created using the following line of code:

Image myimg = [url removed, login to view]([url removed, login to view], [url removed, login to view]([url removed, login to view]), true); // Genreate barcode using barcode drawing class.

[url removed, login to view] = myimg;

Something like a “ForEach” function should be used to create the multiple barcodes. The two following snippets of code are free hand written but may help you.

Snippet One:



foreach (DataGridViewRow row in [url removed, login to view])


// Image myImg = [url removed, login to view]( [url removed, login to view]["update"].Value,...);



catch (Exception ex)


[url removed, login to view](this, [url removed, login to view], [url removed, login to view]); // on error


Snippet Two:

DataGridView _DataGridView as new DataGridView();

DataGridViewTextBoxColumn _DataGridViewTextBoxColumn as new DataGridViewTextBoxColumn();

DataGridViewImageColumn _DataGridViewImageColumn as new DataGridViewImageColumn();

[url removed, login to view](_DataGridViewTextBoxColumn);

[url removed, login to view](_DataGridViewImageColumn);

Image Barcode = [url removed, login to view]([url removed, login to view], [url removed, login to view]([url removed, login to view]), true);

[url removed, login to view]([url removed, login to view],Barcode);

Get free quotes for a project like this
Awarded to:

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online