ASP.NET Barcode Generator Control SDK Tutorial
How to generate, create linear, 2d barcodes in ASP.NET Class, Web Forms, Web Reporting application
Download ASP.NET Barcode Generator SDK Free Evaluation Package
Purchase ASP.NET Barcode Generator SDK License
"In searching for a suitable barcode solution, we found and tested this control; highly functional and professional!"
- Dothy Will, UK

Generate, Create, Print, Draw linear, 2d bar codes in ASP.NET projects

  • Easy to generate barcodes by drag and drop ASP.NET Barcode Generator Web Forms Control (dll)
  • Print barcodes in .NET Web Forms applications
  • Create barcodes in .NET class & console applications
  • Draw barcodes in Crystal Reports for ASP.NET Web Forms applications
  • Supports industry standard linear, 2d barcode types including QR Code, Data Matrix, PDF417, Code 39, Code 128, EAN-128, EAN-8, EAN-13, UPC-A, UPC-E
  • Completely coded in Visual C#.NET
  • Compatible with latest barcode symbology ISO Specifications
  • Mature & reliable .NET Barcode Generating Components since 2004
ASP.NET Barcode Generator Web Forms Control is a mature, easy to use ASP.NET barcode generator component for Web Forms application (ASP.NET dll Class Library) which lets you to easily and simply generate and print linear & 2D bar codes in your ASP.NET web applications.
ASP.NET Barcode Generator Web Forms Control is part of .NET Barcode Generator Suite, which supports generating linear & 2D barcodes in ASP.NET, .NET class, .NET Windows Forms, Reporting Service, and Crystal Reports for .NET applications.
ASP.NET Barcode Scanners
ASP.NET 2d barcode scanners: Data Matrix Scanner, PDF-417 Scanner, QR Code Scanner.
ASP.NET linear barcode scanners: Code 39 Scanner, Code 128 Scanner, EAN 8 Scanner, EAN 13 Reader, GS1 128 (UCC/EAN128) Reader, UPC-A Reader, UPC-E Reader.
Install ASP.NET Barcode Generator Component (dll) to ASP.NET Web Projects
ASP.NET Barcode Generator is built on C#.NET 2005. They are compatible with Microsoft C#.NET, VB.NET, Borland Delphi for Microsoft .NET, Visual Studio .NET Framework 2.0 or later version.


  1. Download the trial package and unzip.
  2. Copy OnBarcode.Barcode.ASPNET.dll to your ASP.NET project folder.
    Note that you don't need to copy dll to .NET bin directory as the Visual Studio build tools will do it for you.
  3. Add OnBarcode.Barcode.ASPNET.dll to your ASP.NET project or website reference.

Add ASP.NET Web Form Control to ASP.NET Visual Studio Toolbox

  1. Right click .NET Visual Studio Toolbox, select menu Choose Items...
  2. In "Choose Toolbox Items" form, click button "Browse...", and select dll OnBarcode.Barcode.ASPNET.dll.
  3. After selection, you will find four items under "Components" section: LinearWebForm, DataMatrixWebForm, PDF417WebForm, and QRCodeWebForm.
  4. Select all of the 4 components and you will find these 4 components in your .NET Visual Studio Toolbox.
Generate Barcodes in ASP.NET Classes
You can use the barcode component to generate barcodes in your ASP.NET class directly.
  1. Add OnBarcode.Barcode.ASPNET.dll to ASP.NET web project reference.
  2. Use the OnBarcode.Barcode.Linear class to generate linear barcodes in your ASP.NET class. To generate 2D barcodes, use class OnBarcode.Barcode.DataMatrix for Data Matrix barcode, OnBarcode.Barcode.PDF417 for PDF-417 barcode, OnBarcode.Barcode.QRCode for QR Code barcode.
  3. Add the following code to your ASP.NET class:
   Linear barcode = new Linear();
barcode.Type = BarcodeType.CODE39;
barcode.Data = "0123456789";
Generate Barcodes in IIS Without Visual Studio .NET, Using ASP.NET Barcode Generator Buildin Web Application
  • Under downloaded trial package, copy barcode folder and its contents to your IIS, and create a new virtual directory, named "barcode".
  • Restart IIS, navigate to http://YourDomain:Port/barcode/linear.aspx?DATA=0123456789&TYPE=4 to create a Code 39 barcode.
  • To create barcode image in html or aspx pages, you can insert an image tag (img) into your web pages.
    For example, <img src="http://YourDomain:Port/barcode/linear.aspx?DATA=0123456789&TYPE=4" />
Drag & Drop Barcodes to ASP.NET Web Forms
  1. Install ASP.NET Barcode Generator Control.
  2. Add ASP.NET Barcode Generator Control to your Visual Studio ToolBox.
  3. Copy "linear.aspx" and "linear.aspx.cs" to the folder where your aspx pages are generating barcodes.
  4. Drag and drop "LinearWebForm" to your ASPX web forms.
  5. Run the website to view the barcodes generated. To customize barcode settings, view each barcode types property settings below.
ASP.NET Barcode Generator Supporting Barcode Symbology Types
(Click to view each barcode type property settings)
OnBarcode is a market-leading provider of barcode imaging generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding, VB.NET Barcode Image, Java JSP Servlet. OnBarcode barcode products are supported by RasterEdge .NET HTML5 Document Viewer high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © . All rights reserved.