I have a string that is passed to RDLC report as parameter. How can I make the RDLC report display it as barcode, using the Code 128 code.
Asked
Active
Viewed 3,468 times
2
-
What font family are you using for the 128 barcode? – LCIII Sep 05 '17 at 16:19
-
You need to have the barcode font installed, there is not one by default. There are free ones out there, but more often you need to purchase them. Once you have the font, just select that for the control you want as barcoded. – DRapp Sep 05 '17 at 18:31
1 Answers
0
Step 1: For the Basic of RDLS report follow this link:
Create RDLC report
Step 2: Download the bar code font 3 of 9 from this site:
Step 3: Then go to your rdlc report page:
Step 4: Right click on the Textbox you want the barcode to appear and select "TextBox Properties"
Step 5: In the Text Box Properties dialog that opens, choose Font and select the barcode font type, then click ok
Step 6: Then right click on the TextBox again which you want to make barcode and select-'Expression'
Step 7: Append '*' to the expression value and click OK, e.g barcode-text.
Step 8: Run your application and you can see your barcode in your report like this.
Goto https://www.c-sharpcorner.com/blogs/how-to-use-barcode-in-rdlc-based-report1 for more information