Assign a value to the BarcodeData instance’s Data property:
In Visual Basic:
barcodeData.Data = "324654"
In C#:
barcodeData.Data = "324654";
Note
Note
This example assigns a hard-coded value to the control. However, in a real-world application the value can be assigned from a database, some application logic, or from a barcode scanner. Regardless of where you get the value from, this example shows how the value is assigned to the control. Whenever the Data property of the BarcodeData class changes the control will show the change.
Save and run your application.
This page has encountered an error. We've attempted to send the information to the server.