Embed Data Matrix barcode generator into ASP.NET web applications for 2D barcode creation
Data Matrix Barcode Creator for ASP.NET Applications
  • Professional Data Matrix barcode making component for .NET 2.0, 3.0, 3.5 and 4.0
  • Generate quality Data Matrix 2D barcode images in ASP.NET web applications
  • Compatible with SSRS, Crystal Reports for .NET and Local Reports(RDLC)
ASP.NET 2D Barcode Control for Data Matrix Generation
  • Managed code completely written in Visual C#
  • Can be used as strong name signatures and signed DLLs
  • Easily insert into any .NET languages such as C#, VB.NET, Managed C++,etc
  • Royalty-free and perpetual developer license
  • Save as image in image file such as Gif, Tiff, Bmp, Png or Jpeg to a specific file name
  • Support Data Matrix generation and streaming in IIS through URL
  • Generated Data Matrix extremely conforms to ISO/IEC 16022
  • Support GS1 compatible Data Matrix creation in ASP.NET applications
Avapose Data Matrix Barcode Library SDK for ASP.NET supports multiple 2D barcode types generation in a single DLL which is strong-named, digitally-signed. Barcode dynamically appears in the web browser as image in various formats such as gif, tiff, bmp, png and jpeg. Any .NET development environment in ASP.NET can use this barcode DLL to generate high quality barcodes.
Data Matrix Barcode Library & Control 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)
ASP.NET Data Matrix Barcode Server Control - Data Matrix Specifications
Data Matrix is a high-density, 2D barcode symbology that encodes a large amount of data including text, number and actual data bytes. Because of its high encoding ability, it is often used on small area of square modules with a unique perimeter pattern. Data Matrix shapes as either square with sizes from 10x10 to 144x144 or rectangular with sizes from 8x18 to 16x48.
Valid encoded data for Data Matrix in ASP.NET:
  • Standard ASCII values from 0 to 127
  • Extended ASCII values from 128 to 225
Data Matrix Server Control for ASP.NET - Data Matrix Barcode Generation

Requirements:

Before you generate Data Matrix in ASP.NET, you should install:
  • Windows 2000, Windows XP, Windows Vista, Windows 7, etc
  • .NET 2.0, 3.0 and advanced version
  • Microsoft Visual Studio 2005/2008/2010
  • Microsoft Internet Information Service (IIS)
  • Avapose.Data Matrix Generator for ASP.NET

Generate and print Data Matrix barcode by using ASP.NET Barcode Generator Control

  1. Copy Avapose.matrixbarcode.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.matrixbarcode.aspnet.dll, and click “OK”. You will find MatrixWebControl in the Toolbox;
  4. Go to "Barcode" folder in the trial package, copy files "matrix.aspx" and "matrix.aspx.cs" to the project where aspx barcodes are generated;
  5. Drag and drop the MatrixWebControl to your aspx page. Change barcode type to Data Matrix through properties window.
  6. Debug it, you will find Data Matrix barcode image generated in your aspx pages.

Add Data Matrix Generation functionality to Internet Information Server (IIS) for ASP.NET

  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
    http://localhost/barcode/matrix.aspx?barcode-data=AVAPOSE&matrix-barcode=1;
  4. Now a Data Matrix is generated, you can change barcode with Data Matrix property below;
  5. To add the created barcode images in html or aspx pages, simply insert the following image tag into your web pages:<img src=http://localhost/barcode/matrix.aspx?barcode-data=AVAPOSE&matrix-barcode=1/">

Generate and create Data Matrix barcode image in ASP.NET web applications with C# and VB.NET

  1. Download Avapose ASP.NET barcode trial and unzip;
  2. Add Avapose.matrixbarcode.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.matrixbarcode.aspnet.dll to your reference.
  4. Go to "Barcode" folder in the trial package, copy files "matrix.aspx" and "matrix.aspx.cs", to the project where aspx barcodes are generated;
  5. Right click on the "Default.aspx" in "Solution Explorer" and select "View Code";
  6. Copy those following sample accordingly and debug it, you will find a Data Matrix generated in you ASP.NET projects.

C# code

using Avapose.matrixbarcode;
Matrix barcode = new Matrix();
barcode.MatrixBarcode = MatrixBarcode.DataMatrix;
barcode.BarcodeData = "AVAPOSE";
barcode.ApplyTilde = true;
barcode.ResizeBarcode = false;
barcode.DataMatrixDataMode = DataMatrixDataMode.Auto;
barcode.DataMatrixFormatMode = DataMatrixFormatMode.Format_16X16;
barcode.BarWidth_X = 4;
barcode.Resolution = 96;
barcode.Rotation = Rotation.Degree0;
barcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif;
barcode.DrawBarcodeImage("c:/data matrix.gif");

VB code

Dim barcode As Avapose.matrixbarcode.Matrix = New Avapose.matrixbarcode.Matrix()
barcode.MatrixBarcode = Avapose.matrixbarcode.MatrixBarcode.QRCode
barcode.BarcodeData = "AVAPOSE"
barcode.ApplyTilde = True
barcode.ResizeBarcode = False
barcode.BarWidth_X = 4
barcode.Resolution = 96
barcode.DataMatrixDataMode = Avapose.matrixbarcode.DataMatrixDataMode.Auto
barcode.DataMatrixFormatMode = Avapose.matrixbarcode.DataMatrixFormatMode.Format_12X12
barcode.Rotation = Avapose.matrixbarcode.Rotation.Degree90
barcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Png
barcode.DrawBarcodeImage("c:/datamatrix-vb.net.png")
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