Let's quickly step through an example that will display a Customer ID, Company Name, and Contact Name from the Customer table in the Northwind database supplied in Microsoft SQL Server. More specifically, you will be creating a few TextBox controls on a form and binding the Text property on these TextBox controls to the Customers data source. Then, you will create a button that will activate the data retrieval and display the data to the form. This is simple binding.
Create a new project in VS .NET by choosing File, New, and then choosing the Project option.
When the New Project dialog box appears, choose Visual Basic Projects (or Visual C# Projects) and Windows Applications. ...