Generate & Print Barcode Images on RDLC Reports / Client-side Reporting
Avapose.Barcode for RDLC
  • Professional barcode component for .NET 2.0/3.0/4.0
  • Visual Studio 2005/2008 ReportViewer Local Reports (RDLC)
  • Support linear, postal & matrix barcodes creation
UPC-E Barcode Creation in Local Reports (RDLC)
  • Insert barcode generation capability into Local Reports / RDLC
  • Complete user guide provided & special barcode know-how is not required
  • Support UPC-E 2 or 5 supplemental digits add-on generation in Report Definition Language Client-Side report
  • Create high-quality UPC-E in PNG, BMP, GIF, JPEG, TIFF image formats
  • Build compressive reporting solution using Visual Studio 2005, 2008, and 2010
  • Rotate UPC-E barcode images in 0, 90, 180 or 270 degree
  • Fully integrated with Microsoft SQL Server 2005, 2008 or 2010
  • Royalty free with a valid license provided in purchased version
.NET Control for RDLC is an easy-to-configure .NET generation SDK which was completely written in C#.NET 2005. High quality barcode images based on GS1 standard could be easily inserted into Report Definition Language Client-Side report. This barcode control helps you create and print PNG, BMP, GIF, JPEG, TIFF image formats in image files & the memory for RDLC reports.
.NET Barcode Control for Client-side Reporting - UPC-E Information
UPC-E, variant of UPC-A, is a numeric-only, linear barcode belongs to EAN / UPC family. It is the barcode symbol which presents a GTIN-12 in six explicitly encoded digits using the zero-compressing method. Trade items intended to cross Point-of-Sale in a retail outlet should carry a bar code symbol of the EAN/UPC Symbology family such as EAN 13, UPC-A, UPC-E etc.
UPC-E Barcode Generator for RDLC encodes:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
.NET Barcode Control / SDK for RDLC - UPC-E Generation


This part specifies the requirements before using .NET Control for RDLC:
  • Windows XP, Windows Vista and Windows 7
  • Microsoft Visual Studio 2005, 2008 or 2010
  • Microsoft SQL Server 2005, 2008 or 2010
  • .NET Framework 2.0, 3.0, 3.5, and advanced version
  • Avapose.Barcode for RDLC

Create RDLC Report Project in Visual Studio

  1. Download Avapose.Barcode for RDLC and unzip it on user's computer;
  2. Start Visual Studio and create a new Windows Application named "RDLCBarcodeDemo".
  3. Create a new DataSet and entitle it as "AdventureWorks.xsd".
  4. Swith to "Pointer", and then drag and drop "TableAdapter" from toolbox to your created DataSet.
  5. Create a connection to the AdventureWorks SQL Server Database sample and click Next. Then Choose "Use SQL statements" and click Next.
  6. Enter the following SQL Statement "SELECT ProductID, Name FROM Production.vProductAndDescription WHERE (CultureID = N'en')" and click Finish button.

Create Barcode Images in RDLC Report Project

  1. Add a new custom column in the DataTable and name it "Barcode". Move to the Properties panel and change data type of "Barcode" column to "System.Byte[]" by manually typing it. Then save the "AdventureWorks.xsd".
  2. Create a new report and name it "Report1.rdlc".
  3. Drag and drop an Image item to the "Barcode" column and setting the properties of image: Set "MIMEType" to "image/jpeg" , "Source" to "Database" and "Value" to "=Fields!Barcode.Value" . Then save the report.
  4. Open the Windows Forms and insert Report Viewer control on the form then choose your created report "Report1.rdlc"
  5. Copy the VB or C# .NET sample code below into the method Form1_Load, and then run the Windows application.

C# code

private void Form1_Load(object sender, EventArgs e)
// load data to the data table this.vProductAndDescriptionTableAdapter.Fill
// create a linear barcode object
Linear barcode = new Linear();
// set barcode type
barcode.LinearBarcode = LinearBarcode.UPCE;
// draw barcodes for each data row
foreach (AdventureWorks.vProductAndDescriptionRow
row in this.AdventureWorks.vProductAndDescription.Rows)
{// set barcode encoding data value
barcode.Data = row.ProductID.ToString();
// set drawing barcode image format
barcode.Format = System.Drawing.Imaging.ImageFormat.Jpeg;
row.Barcode = barcode.drawBarcodeAsBytes();

VB code

Private Sub Form1_Load(ByVal sender 
As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code
loads data into the 'AdventureWorks.vProductAndDescription' table.
You can move, or remove it, as needed.
Dim barcode As New Linear()
barcode.LinearBarcode = LinearBarcode.UPCE
Dim row As AdventureWorks.vProductAndDescriptionRow
For Each row In Me.AdventureWorks.vProductAndDescription.Rows
' set barcode encoding data value
barcode.Data = row.ProductID.ToString()
' set drawing barcode image format
barcode.Format = System.Drawing.Imaging.ImageFormat.Png
row.Barcode = barcode.drawBarcodeAsBytes()
End Sub

Related UPC-E Barcode Integration & Generation Information
The following UPC-E barcode integration and creation information links relate to this product that may be of interest to you:
Testimonial for Barcode Generation SDK for RDLC
We bought your product Barcode Generator for RDLC a few weeks ago, and it works pretty well!
Carlos Louis, Eureka Software Ltd, UK.