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
Barcode .NET > Barcode in RDLC > 2D > Data Matrix
How to Generate Data Matrix in RDLC Reports
Data Matrix is matrix barcode symbology consisting of black and white "cells" or modules which are arranged in a square or rectangular pattern. The most popular application for Data Matrix is labeling small items.
Barcode Generator for RDLC is a powerful control library for RDLC development that generates 20+ linear & 2D barcode in reports. The quality image generator draws high quality graphics object in RDLC reports in Windows applications and ASP.NET projects.
Data Matrix RDLC Generator generates Data Matrix in RDLC reports with control library. The parameters of the Data Matrix are highly customizable. You can easily control of them using C#.NET or VB.NET. You are free to change the width and height of the module bars.
All the Data Matrix barcode symbols are generated from Data Matrix Specification - ISO / IEC 16022 (2nd edition 2006-09-15). ECC200, Department of Defense UID, ANSI/AIM C11, ISO/IEC 16022, ISO/IEC 15434, MIL-STD-130 and other specifications are supported.
Data Matrix Generator for RDLC Features
Valid Data Valid character set includes:

- 128 ASCII characters
- Extended ASCII (ASCII characters 128-255, in accordance with ISO 8859-1)
Data Mode Include auto data mode that automatically select data mode for specified data.
Size Adjustments Easy to set and adjust the size of modules in the symbol, margins around the symbol, and the entire image.
White Space Increase Provide property to increase the margins around symbol therefore barcode readability would be enhanced.
GS1 Compatible Generate Data Matrix which is compatible with related GS1 barcode standards.
Royalty-free Distribution Offer royalty-free license with purchase license.
Data Matrix 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
How to add RDLC Barcode Generator DLL to RDLC Report
  1. Download Barcode Generator for RDLC Free Trial and unzip it;
  2. Open Visual Studio, and create ASP.NET web form project;
  3. Add Barcode Generator DLL to the project reference;
  4. In Solution Explorer, right-click the "add new items" to add a class;
  5. Copy the C# or VB.NET sample code in the created class "APP_Code/Class1.cs";
How to Add Data Matrix into a RDLC Report in the Project
  1. Select "Build" to "build web site";
  2. In Solution Explorer, right-click the "add new items" to add a report;
  3. Go to "Report Items" in toolbox to drag and drop a Table into the Report;
  4. Switch to the "Website Data Source" to add "Name" and "Price" into the report table details section; and drag an image in the last column "Barcode";
  5. Select the image and navigate the properties to set data source "database", set image MIMEType "image/jpeg" and set value "=Fields!Bit.Value";
  6. Switch back to Solution Explorer, right-click "Default.aspx" and select "View Designer"
  7. Drag a "ReportViewer" in Data of toolbox to the project;
  8. Choose your created report "Report.rdlc" from "Choose Report" menu;
  9. Debug the webpage, generated barcodes appear in your report.
Data Matrix Barcode Generation Sample Code
run the report, barcode images will be showed on the web page.
using System;
using System.Collections.Generic;
using BusinessRefinery.Barcode;
using BusinessRefinery.Barcode.RDLC;
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;
WebDataMatrix barcode = new WebDataMatrix ();
barcode.Code = data;
m_bit = barcode.drawBarcodeAsBytes();
public byte[] Bit
get { return m_bit; }
public string Name
return m_name;
public int Price
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
Imports BusinessRefinery.Barcode.RDLC
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 WebDataMatrix ()
barcode.Code = data
m_bit = barcode.drawBarcodeAsBytes()
End Sub
Public ReadOnly Property Bit() As Byte()
Return m_bit
End Get
End Property
Public ReadOnly Property Name() As String
Return m_name
End Get
End Property
Public ReadOnly Property Price() As Integer
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