|
ASP.NET Sample
1. Copy BCSDotNetCtrl.dll to your .Net application \bin folder
2. Copy Barcodesoft.ashx to your .net application root folder
HTML page: Insert a barcode image into your html page like this
<img src="Barcodesoft.ashx?s=code39&TEXT=1234">
ASPX page:
<%@ Register Assembly="BCSDotNetCtrl" Namespace="BCS" TagPrefix="bcs" %>
<bcs:BCSDotNetCtrl ID="BCSBarcodeCtrl1" runat="server" />
Then, set the properties of BCSBarcodeCtrl1 in CodeBehind file
BCSBarcodeCtrl1.Symbology = Convert.ToInt32(symbol.Text);
BCSBarcodeCtrl1.Text = data.Text;
|