Add Code 128 barcode creation functionality into ASP.NET by using Barcode for ASP.NET Server Control.
Code 128 Generator for ASP.NET Applications
  • Easy to use barcode generation component for ASP.NET web projects
  • Generate and print high quality Code 128 barcode images in ASP.NET
  • Compatible with SSRS, Crystal Reports for .NET and Local Reports(RDLC)
ASP.NET Barcode Component for Code 128 Generation
  • Easy to be used in Visual Basic .NET, C#, Managed C++ and Borland Delphi for .NET
  • Insert & print Code 128 images in web applications for .NET
  • Create Code 128 by Class implementation and IIS implementation
  • Flexible setting options include adjustment of X-dimension, Y-dimension, margins etc.
  • Support web browser which displays GIF, JPEG, BMP and PNG images
  • Support Code128 set A, Code128 set B and Code128 set C
  • Fully integrated in ASP.NET 2.0, 3.5 and 4.0
  • Perpetual license & source code available in purchased version
Code 128 Barcode Generator Control & DLL lets you easily insert Code 128 barcoding features into ASP.NET web applications. This barcode generation library is an easy-to-use control which allows barcode creation by using Visual C#, VB codes or by changing contents directly in dynamic URL. Free demo and optional sample codes are provided.
Code 128 barcode component for ASP.NET:
  • ASP.NET Web Site (design-time and runtime support)
  • Console Application (runtime support)
  • Class Library (runtime support)
  • ASP.NET Web Services (runtime support)
ASP.NET Web Barcode Generator Control - Code 128 Specification
Code 128 could encode full 128 ASCII character set and Latin-1 characters defined in ISO/IEC 8859-1. It is a bi-directional linear barcode with variable length. Code 128 has three subsets: Code 128 Code Set A, Code 128 Code Set B, Code 128 Code Set C. Code 128 is appended with a mandatory check digit which ensures the barcode is correctly composed.
ASP.NET barcode component encodes:
  • Standard ASCII values: 0-128;
  • Latin-1 characters in accordance with ISO 8859-1: 128-255
ASP.NET Barcode Web Server Control / DLL - Code 128 Generation

Requirements:

Code 128 barcode library work well in:
  • Operating Systems: Windows XP, Windows Vista and Windows Server 2008
  • .NET Framework: 2.0, 3.0, 3.5, 4.0 and 4.5
  • Microsoft Visual Studio: 2005, 2008 and 2010
  • IIS (Internet Information Services)
  • Avapose.Barcode for ASP.NET

Drag and drop Code 128 barcode to Web form applications in ASP.NET web projects

  1. Download Avapose.Barcode for ASP.NET and unzip;
  2. Copy Avapose.linearbarcode.aspnet.dll to your ASP.NET project folder;
    (Do not copy .dll to .NET bin directory, Visual Studio will do so.)
  3. Display toolbox and choose "Choose Items"; click "Browse" in the popped up window and navigate to the dll; After clicking "OK", you could find the "LinearWebControl" on the toolbox;
  4. Drag and drop the "LinearWebControl" to your aspx page;
  5. Click "Debug" and Code 128 occurs.

Generate and print Code 128 barcode from a string in ASP.NET with C# and VB.NET

  1. Download Avapose.Barcode for ASP.NET free package and unzip it on hard drive;
  2. Copy the Avapose.linearbarcode.aspnet.dll to target folder; (Do not copy bin directory, VS will do it automatically)
  3. Add Avapose.linearbarcode.aspnet.dll to reference of your ASP.NET project;
  4. Copy "linear.aspx" and "linear.aspx.cs" in barcode folder and place them in the target project folder;
  5. Write the VB or C# code samples provided below;
  6. Debug it,the Code 128 image could be created.

C# code


using Avapose.linearbarcode;
Linear Barcode = new Linear();

Barcode.LinearBarcode = LinearBarcode.Code128;

Barcode.BarcodeData = "Avapose.VB.NETCode128";

Barcode.BarWidth_X = 2;

Barcode.Rotation = Degree0;

Barcode.BarcodeHeight = 1;

Barcode.BarcodeWidth = 60;

Barcode.ResizeBarcode = true;

Barcode.DrawBarcodeImag("E://code_128_csharp.gif");


VB code


Dim a As Avapose.linearbarcode.Linear = New Avapose.linearbarcode.Linear()
vb.LinearBarcode = Avapose.linearbarcode.LinearBarcode.Code128
vb.BarcodeData = " Avapose.Csharp.NETCode128"
vb.BarWidth_X = 1
vb.BarHeight_Y = 60
vb.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif
vb.DrawBarcodeImage("E://code_128_vb.gif")


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

  1. Download Avapose.Barcode for ASP.NET and unzip;
  2. Copy Avapose.linearbarcode.aspnet.dll to the project folder of your web Application;
    (The DLL will be copied to the bin directory automatically)
  3. Copy "linear.aspx" and "linear.aspx.cs" in barcode folder and place them in the target project;
  4. Restart IIS, and navigate to http://YourDomain:Port/barcode/linear.aspx?BarcodeData=01234567&LinearBarcode=7
  5. Now a Code 128 is generated, you can change barcode property below;
  6. To add the created Code 128 images in html or aspx pages, simply insert the following image tag into your web pages:
    <img src= http://YourDomain:Port/barcode/linear.aspx?BarcodeData=01234567&LinearBarcode=7">
Testimonial for Barcode Generation SDK for ASP.NET
We bought your product Barcode Generator for ASP.NET a few weeks ago, and it works pretty well!
Carlos Louis, Eureka Software Ltd, UK.