The WinCombo™ control is a Windows Forms control, which provides full data binding support using DataSource and DataMember properties.
You will learn how to bind WinCombo to the Employees data table of the Northwind database.
Drag and drop an ultraCombo onto your form.
Click the smart tag of the WinCombo control and click the drop down button of the DataSource member.
Select Add Project DataSource from the drop down list, and the Data Source configuration wizard appears.
In the Data Source configuration wizard select Database and click next.
In the Choose your Data Connection dialog, click the New Connection button to configure the connection string. The Add Connection dialog appears.
Set the server name to the server you are using, .\SQLEXPRESS in this case. Set the database to Northwind.
Click Ok. You are returned to the Choose your Data Connection dialog.
Click Next.
Select Tables and do the following:
Choose the Employees table from the drop-down list.
From the Employees drop down list, choose the EmployeeID, LastName, FirstName, and HireDate columns in order to display those columns.
Click the Finish button to close the configuration wizard. The employeesBindingSource object is created and WinCombo is now set up to retrieve Employees data from the Northwind database.
Run the application. WinCombo binds to the Employees table and displays its data.