Barcode for SSRS > Generate Barcode in ASP.NET

Generate Barcodes in Reporting Services in ASP.NET

Linear & Matrix Barcode Generation in SSRS in ASP.NET Projects
KA.Barcode for Reporting Services Introduction
Barcode for .NET Reporting Services offers a complete report solution for generating 20+ linear and 2D barcode images in SSRS in ASP.NET applications. Barcode images could be maintained on exported files such as Word, Excel, PowerPoint and PDF documents.
Compatibility & Requirements
  • Development Environments: Visual Studio 2005/2008/2010, Visual C#, Microsoft SQL Server 2005 and 2008, .NET Framework 2.0/3.0/3.5/4.0
  • OS Compatibility: Windows 2000/Windows XP/Windows Vista/Windows 7/Window Server 2000/2003/2008
Test Environment
  • Microsoft Windows XP
  • Microsoft Visual Studio 2005
  • Microsoft SQL Server 2005
1D & 2D Barcode Creation in SSRS in ASP.NET
Download Demo Package for SSRS and unzip it to generate barcodes for Reporting Services in ASP.NET.
Install the Barcode DLL
For SSRS 2005 Project:
  1. Open directory "\Program Files\Microsoft Visual Studio8\Common7\IDE\PrivateAssemblies\"
  2. Copy "KeepAutomation.Barcode.SSRS2005CRI.dll" and "KeepAutomation.Barcode.SSRS2005.dll" to the folder.
  3. Open another directory "\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer\bin\"
  4. And then copy "KeepAutomation.Barcode.SSRS2005CRI.dll" to the folder.
For SSRS 2008 Project:
  1. Open directory "\Program Files\Microsoft Visual Studio9.0\Common7\IDE\PrivateAssemblies\
  2. Copy "KeepAutomation.Barcode.SSRS2008CRI.dll" and "KeepAutomation.Barcode.SSRS2008.dll" to the folder.
  3. Open another directory "\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin\"
  4. Copy "KeepAutomation.Barcode.SSRS2008CRI.dll" to the folder.
  5. Pay attention: The directory [MSSQL.3] is maybe MSSQL.1, MSSQL.2, or MSSQL.4 for different machines.
Configuration Environments
How to Generate A Barcode Image for Reporting Services
  1. Start Visual Studio and create new "Business Intelligence Projects", then choose "Report Server Project Wizard" template.
  2. To choose data source, select "AdventureWorks" in "Connection Properties" form and then click "Next".
  3. Create the Query string and input "SELECT CustomerID, TerritoryID, AccountNumber FROM Sales.Customer" to the input box of "Report Wizard" dialog.
  4. Choose "Tabular" as report type and then click "Next".
  5. Select default setting of "Design the Table", "Choose the Table Style" and "Choose the Deployment Location" then click "Next".
  6. Name the report "Barcode in Reporting Services", Click Finish. Display the toolbox, navigate to " KeepAutomation.Barcode.RS2005.dll" and add it as item on toolbox.
  7. Add a column to display the barcode images and name it "Barcode", then drag and drop the "BarCodeControl" to the "Barcode" column.
  8. Select "BarcodeData" in "Properties" window and change it to =Fields!AccountNumber.Value".
  9. Users can preview the report with linear or matrix barcode image by clicking "Preview" tab.
CompatibilityTest EnvironmentWeb SSRSUsing ASP.NETUsing .NET WinformsData Matrix for SSRSPDF417 for SSRSQR Code for SSRSmoreCodabar for SSRSCode 39 for SSRSCode 128 for SSRSEAN-8 for SSRSEAN-13 for SSRSEAN 128 for SSRSIntelligent Mail for SSRSInterleaved 2 of 5 for SSRSISBN for SSRSITF-14 for SSRSRM4SCC for SSRSUPC-A for SSRSUPC-E for SSRSmore
KeepAutomation provides complete barcode automation solutions for add barcode display 2-dimensional, barcode generation capacity api, and barcode mobile applications. We recommend the customers use high quality ASP.NET html5 document viewer, c# pdf sdk, C# merge PDF files, Split PDF in C#, C# View, edit PDF online , C# Convert PDF to Tiff, C# Convert PDF to text, txt, .net imaging sdk, C# PDF metadata edit from RasterEdge.com.