BizCode Barcode Generator for RDLC
The most mature barcode solution for ReportViewer Local Reports (RDLC)
Quick Overviews
  • Easy-to use barcode SDK
  • VS & RDLC 2005/2008 support
  • Various linear&2D barcodes
  • Dynamic file formats support
  • For all printers & scanners
How to Generate GS1 DataBar in RDLC Reports
GS1 DataBar, formerly known as RSS, is a family of linear symbols most commonly seen in the GS1 DataBar Coupon. All the GS1 DataBar symbols encode one Application Identifiers. Among them, GS1 DataBar Omnidirectional, GS1 DataBar Stacked Omnidirectional, GS1 DataBar Expanded, GS1 DataBar Expanded Stacked tend to be used at Point of Sale (POS).
Barcode Generator for RDLC, written 100% by managed code in C#, includes comprehensive barcode generation capability designed for RDLC development. Developers can add it into RDLC with Xcopy deployment, and load it to the reports with drag-and-drop.
GS1 DataBar Generator for RDLC is a built-in Class of Barcode Generator for RDLC that supports the encoding and printing of GS1 DataBar in client report definition (.rdlc) files. RDLC reports in .NET 2.0/3.0/4.0 and above are supported.
High quality GS1 DataBar barcode images could be printed in RDLC report with the integrated Barcode Generator for RDLC. The created GS1 Data could easily be customized with a complete set of properties.
GS1 DataBar Generator for RDLC Features
GS1 DataBar Valid Data GS1 DataBar-14 versions and GS1 DataBar Limited:
-digits 0 through 9
GS1 DataBar Expanded:
-upercase and lowercase letters, digits, spaces, 20 selected punctuation characters
POS GS1 DataBar Support GS1 DataBar Omnidirectional, GS1 DataBar Stacked Omnidirectional, GS1 DataBar Expanded, and GS1 DataBar Expanded Stacked
GS1 Application Identifiers Easy to encode Application Identifiers
Data Capacity GS1 DataBar-14 versions and GS1 DataBar Limited:
-AI (01) plus a 14-digit numeric item identification
GS1 DataBar Expanded:
-74 numeric or 41 alphabetic characters
Error detection GS1 DataBar Generator for RDLC support:
-GS1 DataBar-14 versions: mod 79 checksum
-GS1 DataBar Limited: mod 89 checksum
-GS1 DataBar Expanded: mod 211 checksum
Easy-to-use Support Xcopy installation and drag-and-drop
GS1 DataBar Generator for RDLC Requirements
Windows OS
- Windows 7
- Windows Vista
- Windows XP
Development Environments
- .NET 2.0, 3.0 or later version
- C#, VB.NET, Managed C++, Borland Delphi for .NET
- Microsoft Visual Studio 2005/2008/2010
Setup GS1 DataBar Generator DLL
  1. Download Barcode Generator for RDLC Free Trial and unzip it;
  2. Open Visual Studio, and create ASP.NET web form project;
  3. Add GS1 DataBar Generator DLL to the project reference;
  4. Activate the "Solution Explorer" window, and right-click the web application to add a class;
  5. Copy the C# or VB sample code into the created class "APP_Code/Class1.cs";
How to Add GS1 DataBar into a RDLC Report in the Project
  1. Activate "Solution Explorer", and right-click the project to add a report;
  2. Go to "Report Item" in Toolbox, and insert a table into report;
  3. Switch to "Website Data Source", add "Name" and "Price" items to the report;
  4. Drag and drop an Image item to the "Barcode" column and setting the properties of imge: Set "MIMEType" to "image/jpeg" , "Source" to "Database" and "Value" to "=Fields!Barcode.Value", and save the report;
  5. Activate"Solution Explorer", and right-click "Default.aspx" to click "View Designer" menu;
  6. Drag "View Designer" to the report, and then choose created report "Report1.rdlc".
VB.NET and C#.NET Sample Code
run the report, barcode images will be showed on the web page.
using System;
using System.Collections.Generic;
using BusinessRefinery.Barcode;
public class Product
{
private string m_name;
private int m_price;
private byte[] m_bit;
public Product(string name, int price, string data)
{
m_name = name;
m_price = price;
Linear barcode = new Linear();
barcode.Symbology = Symbology.RSS14;
barcode.Code = "(01)12345678901234";
m_bit = barcode.drawBarcodeAsBytes();
}
public byte[] Bit
{
get { return m_bit; }
}
public string Name
{
get
{
return m_name;
}
}
public int Price
{
get
{
return m_price;
}
}
}
public class Merchant
{
private List<Product> m_products;
public Merchant()
{
m_products = new List<Product>();
m_products.Add(new Product("code128", 25, "code128"));
m_products.Add(new Product("code39", 30, "code39"));
m_products.Add(new Product("qrcode", 15, "qrcode"));
}
public List<Product> GetProducts()
{
return m_products;
}
}

Imports System.Collections.Generic
Imports BusinessRefinery.Barcode
Public Class Product
Private m_name As String
Private m_price As Integer
Private m_bit As Byte()
Public Sub New(name As String, price As Integer, data As String)
m_name = name
m_price = price
Dim barcode As New Linear()
barcode.Symbology = Symbology.RSS14;
barcode.Code = "(01)12345678901234"

m_bit = barcode.drawBarcodeAsBytes()
End Sub
Public ReadOnly Property Bit() As Byte()
Get
Return m_bit
End Get
End Property
Public ReadOnly Property Name() As String
Get
Return m_name
End Get
End Property
Public ReadOnly Property Price() As Integer
Get
Return m_price
End Get
End Property
End Class
Public Class Merchant
Private m_products As List(Of Product)
Public Sub New()
m_products = New List(Of Product)()
m_products.Add(New Product("code128", 25, "code128"))
m_products.Add(New Product("code39", 30, "code39"))
m_products.Add(New Product("qrcode", 15, "qrcode"))
End Sub
Public Function GetProducts() As List(Of Product)
Return m_products
End Function
End Class