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.
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.
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.
Install
- Download the trial package and unzip.
- 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. - 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
- Right click .NET Visual Studio Toolbox, select menu Choose Items...
- In "Choose Toolbox Items" form, click button "Browse...", and select dll OnBarcode.Barcode.ASPNET.dll.
- After selection, you will find four items under "Components" section: LinearWebForm, DataMatrixWebForm, PDF417WebForm, and QRCodeWebForm.
- Select all of the 4 components and you will find these 4 components in your .NET Visual Studio Toolbox.
Generate Barcodes in ASP.NET Class
You can use the barcode component to generate barcodes in your ASP.NET class directly.
- Add OnBarcode.Barcode.ASPNET.dll to ASP.NET web project reference.
- 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.
- Add the following code to your ASP.NET class:
Linear barcode = new Linear();
barcode.Type = BarcodeType.CODE39;
barcode.Data = "0123456789";
barcode.drawBarcode("C://csharp-barcode-code39.png");
Generate Barcodes in IIS Without Visual Studio .NET, Using ASP.NET Barcode Generator Web Application<
a href="#pagetop">- 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
- Install ASP.NET Barcode Generator Control.
- Add ASP.NET Barcode Generator Control to your Visual Studio ToolBox.
- Copy "linear.aspx" and "linear.aspx.cs" to the folder where your aspx pages are generating barcodes.
- Drag and drop "LinearWebForm" to your ASPX web forms.
- Run the website to view the barcodes generated. To customize barcode settings, view each barcode types property settings below.
(Click to view each barcode type property settings)
- ASP.NET 1D / Linear Barcodes:
- ASP.NET 2D / Matrix Barcodes: ASP.NET Data Matrix, ASP.NET PDF-417, ASP.NET QR Code, ASP.NET Micro PDF-417, ASP.NET Micro QR Code