Code 2 of 5 Barcode Generation in Local Report (RDLC)
Avapose Linear Barcode SDK for RDLC report is a robust and powerful barcode component that helps you to add Code 2 of 5 barcode generating function into RDLC client report definition (.rdlc) files into Windows Forms or ASP.NET in Visual C#.NET or VB.NET projects. The Avapose Barcode SDK for RDLC report is compatible with most popular linear and two dimensional barcode standards.
Barcode Generation for RDLC Report Files - Code 2 of 5 Information
Code 2 of 5 is also known as: 2 of 5 barcode, Standard 2 of 5, Industrial 2 of 5, IATA 2 of 5, Data Logic 2 of 5, Matrix 2 of 5, COOP 2 of 5
Code 2 of 5 Generator Control for RDLC Report is capable of encoding:
Barcode Generation for RDLC - Code 2 of 5 Generation Requirements:
Before generate Code 2 of 5 in RDLC, you should install:
C# code private void Form1_Load(object sender, EventArgs e){ // load data to the data table this.vProductAndDescriptionTableAdapter.Fill (this.AdventureWorks.vProductAndDescription); // create a linear barcode object Linear barcode = new Linear(); // set barcode type barcode.LinearBarcode = LinearBarcode.Code25; // draw barcodes for each data row foreach (AdventureWorks.vProductAndDescriptionRow row in this.AdventureWorks.vProductAndDescription.Rows) {// set barcode encoding data value barcode.Data = row.ProductID.ToString(); // set drawing barcode image format barcode.Format = System.Drawing.Imaging.ImageFormat.Jpeg; row.Barcode = barcode.drawBarcodeAsBytes(); } this.reportViewer1.RefreshReport(); } VB code Private Sub Form1_Load(ByVal senderAs System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'AdventureWorks.vProductAndDescription' table. You can move, or remove it, as needed. Me.vProductAndDescriptionTableAdapter.Fill (Me.AdventureWorks.vProductAndDescription) Dim barcode As New Linear() barcode.LinearBarcode = LinearBarcode.Code25 Dim row As AdventureWorks.vProductAndDescriptionRow For Each row In Me.AdventureWorks.vProductAndDescription.Rows ' set barcode encoding data value barcode.Data = row.ProductID.ToString() ' set drawing barcode image format barcode.Format = System.Drawing.Imaging.ImageFormat.Png row.Barcode = barcode.drawBarcodeAsBytes() Next Me.ReportViewer1.RefreshReport() End Sub Related Code 2 of 5 Barcode Integration & Generation Information
The following Code 2 of 5 barcode integration and creation information links relate to this product that may be of interest to you:
| Testimonial for Barcode Generation SDK for RDLC ![]() ![]() Carlos Louis, Eureka Software Ltd, UK. |
Contact Us | | | Term of Use | | | Privacy Policy |
Copyright © Avapose 2014. All rights reserved |