Our Customers
Contact Us Email: support@barcodelib.com
Home > ASP.NET Barcode Library > ASP.NET Barcode Generation Tutorial > UPC-E ASP.NET Barcode Generator Component
Download Barcode for ASP.NET Trial

ASP.NET UPC-E Barcode Generator Library DLL

How to Generate UPC-E Barcode for ASP.NET Website Using C# & VB.NET
  • Comprehensive ASP.NET UPC-E barcode generator control for .NET developers
  • Compatible with major .NET development tools, like Visual Studio 2005 or above
  • Adjust UPC-E barcode settings through an intuitive property window or in ASP.NET Class
  • Create UPC-E barcodes in ASP.NET website, IIS and Console Applications
  • Able to generate UPC-E barcodes in Crystal Reports and RDLC Reports
  • Generate & output UPC-E barcodes to common industry image files
Brief Overview of ASP.NET Linear UPC-E Barcode
UPC-E, a numeric linear barcode symbology, can encode 8 digit numbers, including a check digit which will be automatically computed by our ASP.NET UPC-E barcode generator and a fixed number system (0 or 1). So in general, users could only enter 6 digits in the data textbox.
You may know more about UPC-E barcode by seeing UPC-E .NET Barcode Introduction.
Installing ASP.NET UPC-E Barcode Generator SDK
  1. Install Barcodelib.Barcode.ASP.NET.dll to your ASP.NET project reference.
  2. Install Barcodelib.Barcode.ASP.NET.dll to Toolbox.
  3. After you finish this part, you will see four new items in the Toolbox, similar to the picture below.

Generating UPC-E Barcode Images in ASP.NET Web Site
  1. Copy "linear.aspx", "linear.aspx.cs" from folder barcode to your web project. (Note: If you forget this step, UPC-E barcode will not visible when you are debugging the program in the ASP.NET website.)
  2. Drag LinearASPNET from the toolbox to the split part of your aspx page and you will see a Code 128 barcode.
  3. Adjust the generated barcode type to UPC-E and change other settings in the Properties Window.
  4. Run the project to view created UPC-E barcode.
Creating UPC-E in ASP.NET Using C# or VB Class Codes
To help users generate UPC-E barcode in ASP.NET project, free C# & VB.NET class codes are listed below.
For users who want to generate UPC-E barcode using ASP.NET C# codes:
     BarcodeLib.Barcode.Linear upce = new BarcodeLib.Barcode.Linear();
upce.Type = BarcodeType.UPCE;
upce.Data = "123456";


upce.ProcessTilde = true;
upce.BarColor = System.Drawing.Color.Blue;
upce.BarWidth = 1;
upce.LeftMargin = 8;
upce.RightMargin = 8;
upce.drawBarcode("C:/upce.jpeg");
Above UPC-E sample code written in Visual C# 2005 View More UPC-E C#.NET Demo Code
For users who want to generate UPC-E barcode using ASP.NET VB.NET codes:
     Dim upce As New BarcodeLib.Barcode.Linear()
upce.Type = BarcodeType.UPCE
upce.Data = "123456"


upce.ProcessTilde = True
upce.BarColor = System.Drawing.Color.Blue
upce.BarWidth = 1
upce.LeftMargin = 8
upce.RightMargin = 8
upce.drawBarcode("C:/upce.jpeg")
Above UPC-E sample code written in Visual VB 2005 View More UPC-E VB.NET Demo Code
Generating Linear UPC-E Barcode Images in Microsoft IIS
Our ASP.NET UPC-E barcode generator also makes it possible for users to generate UPC-E barcode in IIS. The following are detailed steps:
  1. Copy the folder "barcode" to your IIS folder, e.g. C:\ interpub.
  2. Create a new virtual directory in your IIS named "barcode", and connect it to the above "barcode" folder pasted in inetpub.
  3. Restart IIS and navigate to:
    http://YourDomain:port/barcode/linear.aspx?Type=31&Data=123456&LeftMargin=8&RightMargin=8

    To make further adjustment for UPC-E image, please view web stream URL parameters for UPC-E here: Linear Barcode UPC-E .NET Barcode Settings
  4. If you want to add this UPC-E barcode image to your aspx or html page, please pass the url to IMG tag or src value.
    <img src=http://YourDomain:port/barcode/linear.aspx?Type=31&Data=123456&LeftMargin=8&RightMargin=8 />
    This method will not generate any UPC-E barcodes in your IIS server side.
Supported 1D & 2D Barcode Types in ASP.NET Project
Support Linear Barcodes:
Support Matrix Barcodes:
ASP.NET linear barcode generator libraries: Codabar, Code 11, Code 2 of 5, Code 39, Code 93, Code 128, EAN 8, EAN 13, GS1-128/EAN-128, Interleaved 2 of 5, ITF14 (UPC Shipping Container Symbol), MSI Plessey, Onecode, Planet, Postnet, RM4SCC (British Royal Mail 4-State Customer Barcode), UPC-A, UPC-E.
ASP.NET 2D barcode generator libraries: Data Matrix, PDF 417, QR Code.



Other Related Barcode Generation Articles

ASP.NET C# & VB.NET Barcode Generation Guide





Provides High Quality .NET Barcode Control, ASP.NET Barcode Control, C# Barcode Control, VB.NET Barcode Control, WinForms Barcode Control, UPC-E .NET Control, UPC-E ASP.NET Control, UPC-E C#.NET Control, UPC-E VB.NET Control, UPC-E WinForms Control, UPC-E SSRS Control, UPC-E Crystal Control, UPC-E RDLC Control.