Easily add Code 39 bar code generation capability to ASP.NET web applications
Code 39 Generator for ASP.NET Applications
  • Easy to use barcode web server component for ASP.NET 2.0, 3.0, 3.5 and 4.0
  • Support Code 39 as well as many common linear barcode standards in ASP.NET
  • Compatible with VB.NET, C#, Managed C++ and Borland Delphi for ASP.NET.
ASP.NET Barcode Generator for Code 39 Barcode Creation
  • The managed code is 100% written in C#.NET for ASP.NET applications
  • Easily integrate into VB.NET, C#.NET, Managed C++ and Borland Delphi for .NET in Web Forms
  • Digitally-signed, time-stamped and strong-named .NET Assemblies & DLLs
  • Draw barcodes in image files as well as in the memory
  • Support Code 39 image generation in web browser using IIS through URL
  • The generated Code 39 extremely conforms to international standard ISO/IEC 16388
  • Start and stop character "*" can be removed when setting the "ShowStartStopInText" to false
  • Human-readable text can be enabled or disabled in Code 39 image
.NET Barcode Generator SDK library includes ASP.NET Barcode Generator, C# Barcode Generator, VB.NET Barcode Generator, QR Code Generator .NET, QR Code Generator ASP.NET, QR Code Generator C#, QR Code Generator VB.NET, Code 39 .NET, Code 39 VB.NET, Code 39 ASP.NET, Code 39 C#.

Avapose Code 39 barcode SDK & DLL for ASP.NET is the most flexible and reliable .NET web server component to generate Code 39 and other linear barcode images in ASP.NET web applications. It is easy to generate barcodes in ASP.NET using drag-and-drop method as well as class library through .NET languages in Visual Studio. Besides, developers can generate dynamic Code 39 in html or aspx pages using IIS through URL.
.NET Code 39 Generator for ASP.NET Development:
  • ASP.NET Web Site(design-time and runtime support)
  • Console Application (runtime support)
  • Class Library (runtime support)
  • .NET Web Service project (runtime support)
Barcode Generator Server Control for ASP.NET - Code39 Specification
Code 39, the first alpha-numeric symbology, is a variable length, discrete barcode that widely used in non-retail field because of its self-checking ability and wide character set. Checksum character for Code 39 is optional. This check digit is calculated according to Modulo 43. Avapose barcode SDK provides you both options with or without checksum character.
Code 39 generator for ASP.NET encodes:
  • Digital characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Uppercase letters: from A to Z
  • Special characters: - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
ASP.NET Barcode Creator Control - Code 39 Barcode Generation


To generate Code 39 in ASP.NET, you need to install:
  • Windows XP, Windows Vista and Windows 7
  • .NET 2.0, 3.0 and advanced version
  • Microsoft Visual Studio 2005/2008/2010
  • Any development that supports ASP.NET web form

Drag and drop Code 3 of 9 barcode to web form applications in ASP.NET

  1. Add Avapose.linearbarcode.aspnet.dll to your project. Do not copy the DLL to the bin directory, Visual Studio will do so automatically;
  2. Open your Visual Studio, right click on the "Toolbox", and select "Choose Item";
  3. Click "browse" in the ".NET Framework Component" tab, find Avapose.linearbarcode.aspnet.dll, and click "OK". You will find LinearWebControl in the Toolbox;
  4. Go to "Barcode" folder in the trial package, copy files "linear.aspx" and "linear.aspx.cs" to the project where aspx barcodes are generated;
  5. Drag and drop the LinearWebControl to your aspx page, and debug it. A barcode is generated in the web browser;
  6. Change properties if needed through property window.

Create Code 39 barcode from a string in ASP.NET Applications in Class Library

  1. Download Avapose ASP.NET barcode trial and unzip;
  2. Add Avapose.linearbarcode.aspnet.dll to your project. Do not copy the DLL to the bin directory, Visual Studio will do so automatically;
  3. Open your Visual Studio. In the "Solution Explorer", add Avapose.linearbarcode.aspnet.dll to your reference.
  4. Go to "Barcode" folder in the trial package, copy files "linear.aspx" and “linear.aspx.cs”, to the project where aspx barcodes are generated;
  5. Right click on the "Default.aspx" and select "View Code";
  6. Copy those following sample accordingly and debug it, you will find a Code 39 generated in you ASP.NET projects.

C# code

using Avapose.linearbarcode;
Linear barcode = new Linear();
barcode.LinearBarcode = LinearBarcode.Code39;
barcode.BarcodeData = "0123456789";
barcode.ApplyTilde = true;
barcode.MeasurementUnit = MeasurementUnit.Pixel;
barcode.HoriBarAlignment = HoriBarAlignment.Center;
barcode.ResizeBarcode = false;
barcode.BarWidth_X = 2;
barcode.BarHeight_Y = 50;
barcode.Resolution = 96;
barcode.Rotation = Rotation.Degree0;
barcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif;

VB code

Dim barcode As Avapose.linearbarcode.Linear = New Avapose.linearbarcode.Linear()
barcode.LinearBarcode = Avapose.linearbarcode.LinearBarcode.Code39
barcode.BarcodeData = "0123456789"
barcode.ApplyTilde = True
barcode.MeasurementUnit = Avapose.linearbarcode.MeasurementUnit.Pixel
barcode.HoriBarAlignment = Avapose.linearbarcode.HoriBarAlignment.Center
barcode.ResizeBarcode = False
barcode.BarWidth_X = 2
barcode.BarHeight_Y = 50
barcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif

Add Code 39 barcode generation capability to IIS for ASP.NET web applications

  1. Download Barcode Generator for ASP.NET and unzip;
  2. Create file Directory barcode in Internet Information Services (IIS);
  3. Restart IIS, and navigate to
  4. Now a Code 39 is generated, you can change barcode with Code 39 property below;
  5. To add the created barcode images in html or aspx pages, simply insert the following image tag into your web pages:
Testimonial for Avapose.Barcode for ASP.NET
We bought your Barcode Generator for ASP.NET a few weeks ago, and it works pretty well
Carios Louis, Eureka Software Ltd,UK