Menu

Using DataMatrix ASP.NET Web Control with MS Visual Studio

Method 2. Using DataMatrix ASP.NET Web Control with Miscrosoft Visual Studio.

 


Install our DataMatrix ASP.NET Web Control and start Microsoft Visual Studio. Create a new ASP.NET Web Application after that.
 
create the new ASP.NET Web Application
  
Open the file 'Web.config' and insert an HTTP handler.
 
Insert barcode HTTP handler

The necessary HTTP handler is below:
<httpHandlers>
<add verb="*" path="DataMatrixGeneratorHandler.ashx" type="Barcodes.DataMatrix.DataMatrixGeneratorHandler, Barcodes.DataMatrixWeb" />
</httpHandlers>
Build Web Application.
  
Register DataMatrix ASP.NET Web Control in your ASP.NET Web Application.
  Open Toolbox for that.
Register DataMatrix ASP.NET Web Control.

Right-click to open the context menu and select 'Customize Toolbox'.
Customize Toolbox.

Then switch to the .NET Framework Components tab and click the Browse button. Then select the file Barcodes.DataMatrixWeb.dll

Now the DataMatrix ASP.NET Web Control is present on the Web Forms tab. You can put it on the form.
DataMatrix ASP.NET Web Control is present on the Web Forms tab.
  
Adjust the properties of the DataMatrix ASP.NET Web control.
 
Adjust the datamatrix bar code properties.

Build Web Application.

  
Start your Internet Browser.
 
Type the address of your web form, you should see the barcode image.

DataMatrix Barcode in the Internet Explorer.