Our Customers
Contact Us Email: support@barcodelib.com
Home > ASP.NET Barcode > ASP.NET Barcode Generation Guide > Data Matrix ASP.NET Barcode Generation Guide
Download Barcode for ASP.NET Trial

ASP.NET 2D Data Matrix Barcode Generator

How to Generate Data Matrix Barcodes in ASP.NET Web Service, Website & IIS
  • Mature ASP.NET Barcode Generator for 2D Data Matrix Bar Coding
  • Excellent ASP.NET barcode generation for Data Matrix in C# & VB.NET class libraries
  • Various methods to output produced Data Matrix in ASP.NET web project
  • Perfect integration with .NET Framework development environment
  • Full compatibility with .NET Framework 2.0, 3.0 and later versions
  • Perpetual and cost-effective ASP.NET web barcoding developer licenses
Data Matrix Barcode ASP.NET Overview
Data Matrix is a high-density 2D (2 dimensional) barcode type. Its dense data capacity and strong error correction ability make Data Matrix barcode be widely used in many factors like aerospace, defense and logistics. And all the images generated by our ASP.NET generator are perfectly compatible with standard given in IEO/IEC 16022-2006.
How to Install ASP.NET Data Matrix Barcode Generator SDK
  1. Integrate ASP.NET barcode control to your ASP.NET project reference. One can finish this task in just two steps.
    • Right click "Add Reference..." in "Solution Explorer".
    • Click "Browse" to find Barcodelib.Barcode.ASP.NET.dll in the unzipped file, and click "OK" button.
  2. Integrate ASP.NET barcode control to your Visual Studio Toolbox. To complete this task, one needs to finish the following three steps.
    • Click "Browse" to find Barcodelib.Barcode.ASP.NET.dll in the unzipped file, and click "OK" button.
    • Click "Browse..." to locate the Barcodelib.Barcode.ASP.NET.dll.
    • Click "OK" and then four items will be listed in VS Toolbox.

How to Create Data Matrix Barcode in ASP.NET Web Site
  1. Install ASP.NET Data Matrix Generator SDK (Look at detailed steps in the above Part).
  2. Find the folder barcode in the downloaded product and copy files "datamatrix.aspx", "datamatrix.asp.cs" to your folder where your project is located.
  3. Drag DataMatrixASPNET to the split part of your aspx page.
  4. Change DataMatrix settings in the Properties window if it is necessary.
  5. Run the project and you can see the generated Data Matrix barcode.
How to Generate Data Matrix in ASP.NET with C# & VB Programming
You could create Data Matrix barcode by referring to the following C# & VB.NET codes:
     BarcodeLib.Barcode.DataMatrix datamatrix = new BarcodeLib.Barcode.DataMatrix();
datamatrix.Data = "1dfefg%^7fdsg56566";
datamatrix.BackgroundColor = System.Drawing.Color.White;
datamatrix.ModuleSize =6;
datamatrix.RightMargin = 6;
datamatrix.drawBarcode("c:/datamatrix.jpeg");
Above Data Matrix sample codes are written in Visual C# 2005 View More Data Matrix C#.NET Demo Code
     Dim datamatrix As New BarcodeLib.Barcode.DataMatrix()
datamatrix.Data = "1dfefg%^7fdsg56566"
datamatrix.BackgroundColor = System.Drawing.Color.White
datamatrix.ModuleSize = 6
datamatrix.RightMargin = 6
datamatrix.drawBarcode("c:/datamatrix.jpeg")
Above Data Matrix sample codes are written in Visual Basic View More Data Matrix VB.NET Demo Code
How to Produce Data Matrix Barcode in Microsoft IIS
Our Data Matrix ASP.NET Generator SDK offers users the possibility to produce Data Matrix barcode in IIS, without using Visual Studio.
  1. Download the trial, and copy folder bbarcodeb 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 binetpubb.
  3. Restart IIS and navigate to:
    http://YourDomain:Port/barcode/datamatrix.aspx?%20Data=1dfefg%^7fdsg56566&LeftMargin=12&RightMargin=12&ModuleSize=4
    To make further adjustment for the Data Matrix image, please view web stream URL parameters for Data Matrix here: .NET Data Matrix Barcode Property Settings.
  4. If you want to add this Data Matrix barcode image to your aspx or html page, please pass the url to IMG tag or src value.
    <img src=http://YourDomain:Port/barcode/datamatrix.aspx?%20Data=1dfefg%^7fdsg56566&LeftMargin=12&RightMargin=12&ModuleSize=4/>
    This method will not generate any barcode images in your IIS server side.
ASP.NET Data Matrix Barcode Generator Supported Barcode Types
Support Linear Barcodes:
Support Matrix Barcodes:
Data Matrix ASP.NET Barcode Control Generates Linear Barcodes: 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.
Data Matrix ASP.NET Barcode Control Generates 2D Barcodes: Data Matrix, PDF 417, QR Code.



Other Related Barcode Generation Articles

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