Barcode for .NET Reporting Services
How to Generate Barcodes in Reporting Services Using C#
Linear & matrix barcode generation in SSRS using Visual C#.NET class
Barcode for .NET Reporting Services helps you easily inert 20+linear & matrix barcode generation into Reporting Services using C# codes. This barcode generation DLL for SSRS supports all Microsoft Report Definition Language scenarios such as SQL Report Server projects and Visual Studio 2005/2008/2010.
Compatibility & Requirements

Development Environments:

  • For Visual studio 2005/2008/2010
  • Visual C#, Managed C++ and Borland Delphi for .NET
  • Microsoft SQL Server 2000, 2005 and 2008
  • .NET Framework 2.0/3.0/3.5/4.0

OS Compatibility:

  • Windows Vista
  • Windows 2000
  • Windows XP
  • Window Server 2003
  • Window Server 2008
Test Environment:
  • Microsoft Windows XP
  • Microsoft Visual Studio 2005
  • Visual C#.NET
1D & 2D Barcode Creation in SSRS Using C# Class
Download Demo Package for SSRS:
Download KeepAutomation Barcode Generator for Reporting Services and unzip it.

Install the Barcode DLL:

  1. 1.
    Open the directory: "\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\".
  2. 2.
    Copy the "KeepAutomation.Barcode.RS2005CRI.dll" and "KeepAutomation.Barcode.RS2005.dll" or "KeepAutomation.Barcode.RS2008CRI.dll" and "KeepAutomation.Barcode.RS2008.dll" to your project folder.
  3. 3.
    Then open the directory: "\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin\".
  4. 4.
    Copy the 2005/2008 relating dlls to the folder based on your requirement.

How to Generate a Barcode Image in Reporting Services

  1. 1.
    Start Visual Studio and create new "Business Intelligence Projects", then choose "Report Server Project Wizard" template.
  2. 2.
    To choose data source, select "AdventureWorks" in "Connection Properties" form and then click "Next".
  3. 3.
    Create the Query string and input "SELECT CustomerID, TerritoryID, AccountNumber FROM Sales.Customer" to the input box of "Report Wizard" dialog.
  4. 4.
    Choose "Tabular" as report type and then click "Next".
  5. 5.
    Select default setting of "Design the Table", "Choose the Table Style" and "Choose the Deployment Location" then click "Next".
  6. 6.
    Name the report "Barcode in Reporting Services", Click Finish. Display the toolbox, navigate to " KeepAutomation.Barcode.RS2005CRI.dll" and add it as item on toolbox.
  7. 7.
    Add a column to display the barcode images and name it "Barcode", then drag and drop the "LinearBarcodeControl" to the "Barcode" column.
  8. 8.
    Select "BarcodeData" in "Properties" window and change it to =Fields!AccountNumber.Value".
  9. 9.
    Users can preview the report with linear or matrix barcode image by clicking "Preview" tab.