Barcode for SSRS > Generate Barcode in .NET WinForms

How to Generate Barcodes in SSRS in WinForms

1D & 2D Barcodes Generation in SSRS in Windows Forms Projects
KA.Barcode for Reporting Services Introduction
Barcode for .NET SSRS is an easy-to-use barcode control which can be easily installed on computers running Visual Studio 2005/2008/2010. Complete user guide and free evaluation package are offered to generate linear and 2D barcodes in Reporting Services in WinForms applications.
Compatibility & Requirements
  • Development Platforms: Visual Studio 2005/2008/2010, Visual C#.NET, Microsoft SQL Server 2005 and 2008, .NET Framework 2.0/3.0/3.5/4.0
  • Operating Systems: Windows 2000/Windows XP/Windows Vista/Window Server 2003/2008 etc.
Test Environment
  • Microsoft Windows XP
  • Microsoft Visual Studio 2005
  • Microsoft SQL Server 2005
1D & 2D Barcode Creation in SSRS in WinForms
Download Demo Package for Reporting Services and unzip it for linear and 2D barcodes generation in .NET Windows Forms.
Deploying and Configuration
It is for SQL Server Reporting Services 2005:
  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.
It is for SQL Server Reporting Services 2008:
  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.
Note: The directory [MSSQL.3] is maybe MSSQL.1, MSSQL.2, or MSSQL.4 for different machines.
For Configuration, please view Guide for Barcode Generation in SSRS 2005 & 2008.
How to Generate a Barcode Image in Windows Reporting Services
Users can follow steps below to generate barcode for SSRS in .NET WinForms applications.
  1. Open your Visual Studio and create new "Business Intelligence Projects", then choose "Report Server Project Wizard".
  2. Select "AdventureWorks" in "Connection Properties" form and then click "Next" to choose data source.
  3. Create the Query string and input "SELECT CustomerID, TerritoryID, AccountNumber FROM Sales.Customer" to the input box of "Report Wizard" dialog.
  4. Select "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" and Click Finish. Display the toolbox and add " KeepAutomation.Barcode.RS2005.dll" into it.
  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. Click "Preview" tab to view the generated barcode image.
CompatibilityTest EnvironmentWindows 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