Crystal Reports Data Matrix Barcode Generator
Create, print 2d Data Matrix barcode label in report viewer in .net without native font ufl. Free Download.
How to generate, embed, print Data Matrix barcode image labels in .net project without using font. Free download.
- Fully customizable Barcode Control to create powerful reporting solution
- Entirely compliant with .NET Framework 2.0, 3.0, 3.5 and 4.0
- Create Data Matrix in Crystal Reports using Visual Studio 2005, 2008 and 2010
- Generate square (10X10 to 144X144) or rectangular (8X18 to 16X48) Data Matrix easily
- Offer flexible data mode options, including ASCII, Auto, Base256, C40 etc.
- Rotate created Data Matrix barcode image in 0, 90, 180 and 270 degrees
- Provide free trial package with optional C#.NET & VB.NET demo codes
Data Matrix Barcode Generator for Crystal Reports Overview
KA.Barcode for Crystal Reports helps you easily add barcode generation capability into Crystal Reports. .NET programmers have full control of properties of created Data Matrix barcode image. Barcode generation SDK is a code product 100% created in managed C#.NET.
Data Matrix Barcode Symbology Overview
Data Matrix is a two-dimensional / 2D barcode symbology which was designed in 1989. It is a high-density barcode either in a square or rectangular form and widely used for marking small items.
Data Matrix Valid Character Set
- Standard ASCII values: 0-127
- Extended ASCII values: 128-225
Download Data Matrix Barcode Control for Crystal Reports
- KACrystalData.mdb
- ProductDataSet.xsd
- KeepAutomation.Barcode.Crystal.dll
- End User License Agreement
- User Manual & Order Page
Please note that Data Matrix barcode image generated with this trial version of Barcode Control for Crystal Reports may include a "KA Barcode" watermark. So users can not apply this trial version to commercial applications. How to Add Data Matrix in ASP.NET Using Crystal Reports SDK
- Download the trial version of Crystal Reports Barcode Generator and unzip it.
- Open your Visual Studio and create a new web project with "ASP.NET Crystal Reports Web Site" as template.
- Create a new report "Using the Report Wizard", choose "Standard", and click "OK".
- In "Data" form, double click "Create New Connection", and expand "ADO.NET".
- Add "ProductDataSet.xsd" file in "ADO.NET" form, and click "Finish" button.
- In "Data" form, add table "Product" and click "Next". In "Fields" form, add all three columns in the table "Product" and click "Finish".
- In CrystalReport1.rpt, add field "Barcode" to the report Section 3.
- Add "KeepAutomation.Barcode.Crystal.dll" to your project reference.
- Copy the following demo codes and debug to view generated Data Matrix barcode images.
C# Sample code
protected void Page_Load(object sender, EventArgs e) { OleDbConnection aConnection = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/KACrystalData.mdb"); aConnection.Open(); OleDbDataAdapter dataAdapter = new OleDbDataAdapter("select * from Product",aConnection); DataSet ds = new DataSet(); dataAdapter.Fill(ds); //Add the Barcode column to the DataSet ds.Tables[0].Columns.Add(new DataColumn("Barcode", typeof(byte[]))); BarCode datamatrix = new BarCode(); //Barcode settings datamatrix.Symbology = KeepAutomation.Barcode.Symbology.DataMatrix; datamatrix.X = 6; datamatrix.Y = 6; datamatrix.LeftMargin = 24; datamatrix.RightMargin = 24; datamatrix.TopMargin = 24; datamatrix.BottomMargin = 24; datamatrix.ImageFormat = System.Drawing.Imaging.ImageFormat.Png; foreach (DataRow dr in ds.Tables[0].Rows) { datamatrix.CodeToEncode = (int)dr["ProductId"] + ""; byte[] imageData = datamatrix.generateBarcodeToByteArray(); dr["Barcode"] = imageData; } CrystalReportSource1.ReportDocument.Load(Server.MapPath("CrystalReport1.rpt")); CrystalReportSource1.ReportDocument.SetDataSource(ds.Tables[0]); CrystalReportSource1.DataBind();
} VB Sample code
Protected Sub Page_Load(sender As Object, e As EventArgs) Dim aConnection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/KACrystalData.mdb") aConnection.Open()
Dim dataAdapter As New OleDbDataAdapter("select * from Product", aConnection) Dim ds As New DataSet() dataAdapter.Fill(ds)
'Add the Barcode column to the DataSet ds.Tables(0).Columns.Add(New DataColumn("Barcode", GetType(Byte())))
Dim datamatrix As New BarCode() 'Barcode settings datamatrix.Symbology = KeepAutomation.Barcode.Symbology.DataMatrix datamatrix.X = 6 datamatrix.Y = 6 datamatrix.LeftMargin = 24 datamatrix.RightMargin = 24 datamatrix.TopMargin = 24 datamatrix.BottomMargin = 24 datamatrix.ImageFormat = System.Drawing.Imaging.ImageFormat.Png
For Each dr As DataRow In ds.Tables(0).Rows datamatrix.CodeToEncode = CInt(dr("ProductId")) & "" Dim imageData As Byte() = datamatrix.generateBarcodeToByteArray() dr("Barcode") = imageData Next CrystalReportSource1.ReportDocument.Load(Server.MapPath("CrystalReport1.rpt")) CrystalReportSource1.ReportDocument.SetDataSource(ds.Tables(0)) CrystalReportSource1.DataBind()
End Sub Data Matrix Barcode Properties |
Free Trial DownloadCrystal Data MatrixData Matrix PropertiesHow To Start Using C#Using VB.NETUsing ASP.NETUsing .NET WinformsData Matrix for Crystal Report PDF417 for Crystal ReportQR Code for Crystal ReportmoreCodabar for Crystal ReportCode 39 for Crystal ReportCode 128 for Crystal ReportEAN-8 for Crystal ReportEAN-13 for Crystal ReportEAN 128 for Crystal ReportIntelligent Mail for Crystal ReportInterleaved 2 of 5 for Crystal ReportISBN for Crystal ReportITF-14 for Crystal ReportRM4SCC for Crystal ReportUPC-A for Crystal ReportUPC-E for Crystal Reportmore
|