This tutorial presents how to display barcodes, created with Barcode4NET, in ASP.NET local reports.
8. Select the Image object in IDNumber column and set its properties:
MIMEType = image/gif (the image format here must match the first parameter of GetImageData method in the code at Step 5)
Source = Database
Value = =Code.GetBarcodeImage(Fields!NationalIDNumber.Value) (the = sign must appear in front of Code keyword).
Sizing = AutoSize


© 2003 - 2021 O2 solutions. All rights reserved