How to Generate Barcodes in Crystal Reports in .NET using C#/VB.NET

Generate, print linear and 2D barcodes with C# and VB.NET using Crystal Report Barcode Printer
Products
Tutorial
Demo now
License & Price
2D Barcode for Crystal
1D Barcode for Crystal
Barcode Crystal > Barcode in Crystal
Barcode Generation DLL for Crystal Reports Using VB.NET/C# - Benefits
Supported Barcode Symbologies
More than 20 linear and 2D barcodes are supported to be generated in Crystal Reports with Barcode Printer for Crystal Reports using VB.NET and C#. These barcodes are linear barcodes like Code 39, Code 128, EAN-13, EAN-8, UPC-A, UPC-E, GS1-128, Codabar, ISBN, ISSN, Interleaved 2 of 5, IFT-14, Postal barcodes, etc and 2D barcodes such as PDF-417, QR Code, Data Matrix, etc
Implemented .NET Technology
Barcode Control DLL for Crystal Report is digital signed, strong-named and 100% managed code written in C#. This barcode control dll can be used in any .NET language environments such as C#, VB.NET, Managed C++, Borland Delphi for .NET, etc. Barcode Printer for Crystal Reports supports generating barcodes in Crystal Reports both in Windows application and WebForms.
Easy Barcoding in Crystal Report
Free C# and VB.NET sample code are provided for easy and quick implementation of barcodes in Crystal Reports using class library. Checksum character for linear barcodes can be automatically added by Barcode Control DLL and human readable text is flexible to be appended on the barcode image or not.
Easy Barcode Customization
With Barcode Generator DLL for Crystal Report, users have full control of every aspect of barcodes such as barcode image appearance, size adjustment, resolution in DPI for specific printers, rotation in 0, 90, 180 or 270 degree, color configuration, etc.
Installation and Deployment
Barcode Control SDK for Crystal Reports performs as a dynamic DLL without loaded on a form. It is an easy-to-install package that simply installs in Visual Studio as a common control. Users may feel ease to redistribute it with Xcopy installation.
Barcode Control DLL for Crystal Reports Using VB.NET/C# - Trial Package Overview
Barcode Control DLL for Crystal Reports trial package includes:
Terrek.Barcode.DotNet.dll and Terrek.Barcode.AspNet.dll
Crystal Report barcode printer includes all barcode features and functions in a single dll for easy and quick generation of Crystal Report barcodes and customization of its barcode image appearance in both WinForms and WebForms.
DeveloperGuide.html
A complete exclusive developer guide of how to print barcodes in Crystal Report using VB.NET or C#.NET class library in both Windows Application and Web Application has supplied.
BarcodeDemoData.mdb
Open the demo dataset "BarcodeDemoData.mdb", you will see a table named "Customer" with three columns inside: "ID", "CustomerId", "CustomerName".
CustomerDataSet.xsd
A CustomerDataSet.xsd file for "BarcodeDemoData.mdb", which defines all above three columns in Customer table, also define one extra column named "Barcode", with data type "xs:base64Binary".
Barcode Generator DLL for Crystal Reports - Compatibility and Installation
Barcode Generation Component DLL for Crystal Report Compatibility
  • C#.NET and VB.NET
  • Visual Studio 2005/2008/2010
  • Managed C++
  • Borland Delphi for .NET
  • .NET Framework 2.0, 3.0. and greater
  • Crystal Report (any version)
Barcode Library SDK for Crystal Reports Installation
Barcode Generation DLL for Crystal Report - Barcode Printing
Generate Barcodes in Crystal Reports in WinForms Using C#/VB.NET:
  • Create a new .NET project with "Crystal Reports Application" as template. Name the project as "CrystalReportsBarcode"
  • Create a new report "Using the Report Wizard", and choose "Standard", and click "OK" button
  • In "Data" form, expand "Create New Connection", and expand "ADO.NET"
  • In "Connection" form, select the "CustomerDataSet.xsd" in your downloaded sample dataset package. Then click "Finish" button
  • In "Data" form, add table "Customer" and click "Next"
  • In "Fields" form, add all three columns in the table "Customer". Click "Finish"
  • In CrystalReport1.rpt, drag and drop "Barcode" in the "Field Explorer" to the report Section 3
  • In .NET project "solution explorer", add "Terrek.Barcode.DotNet.dll" to your project reference
  • Copy the sample VB.NET or sample C# code accordingly in the trial packages
Print Barcodes in Crystal Reports in Web Forms Using C# or VB.NET:
  • Open your Visual Studio, create a new web project with "ASP.NET Crystal Reports Web Site" as template
  • Create a new report "Using the Report Wizard", choose "Standard", and click "OK"
  • In "Data" form, double click "Create New Connection", and expand "ADO.NET"
  • In "ADO.NET" form, select "CustomerDataSet.xsd" file in your downloaded package, and click "Finish" button
  • In "Data" form, add table "Customer" and click "Next"
  • In "Fields" form, add all three columns in the table "Customer". Click "Finish"
  • In CrystalReport1.rpt, add field "Barcode" to the report Section 3
  • Add " Terrek.Barcode.AspNet.dll " to your project reference in "Solution Explorer"
  • Right click "Default.aspx" in"Solution Explorer" and choose "View Code"
  • Copy the sample VB.NET or sample C# code accordingly in the trial packages