Technologies used
- Neodynamic Barcode Professional for Windows Forms (any version)
- Microsoft .NET Framework 1.0 or greater
- Microsoft Visual Studio .NET 2002 or 2003
- Microsoft Visual Studio 2005
- Microsoft Visual Studio 2005 Express Editions (VB, C#, J#, and C++)
Follow these steps:
1- Ensure you have installed Barcode Professional for Windows Forms
2- Launch Visual Studio and create a new Windows Forms application
3- Open the default Form at design-time and add the following controls as is shown in the following figure:
4.2- Add the following code in the Form_Load event procedure VB.NET
Visual Basic .NET
Dim cnn As New System.Data.SqlClient.SqlConnection("server=(local);database=Northwind;integrated security=true")
Dim sqlcmd As New System.Data.SqlClient.SqlCommand("SELECT Products.ProductName, Categories.CategoryName, Products.UnitPrice, Products.ProductID FROM Products INNER JOIN Categories ON Products.CategoryID = Categories.CategoryID", cnn)
Dim da As New System.Data.SqlClient.SqlDataAdapter(sqlcmd)
Bookmarks