Hi Shahzad,
Sorry for the delayed response.
The following code snippet illustrates your requirement.
private void Form1_Load(object sender, System.EventArgs e)
{
this.oleDbDataAdapter1.Fill(this.dataSet11);
this.dataView1 = new System.Data.DataView (this.dataSet11.Employees);
this.comboBoxAutoComplete1.AutoCompleteControl.DataSource = this.dataView1 ;
this.comboBoxAutoComplete1.DisplayMember = "FirstName";
this.comboBoxAutoComplete1.AutoCompleteControl.Columns.Add(new AutoCompleteDataColumnInfo("EmployeeID", 20, false));
this.comboBoxAutoComplete1.AutoCompleteControl.Columns.Add(new AutoCompleteDataColumnInfo("LastName", 60, true));
this.comboBoxAutoComplete1.AutoCompleteControl.Columns.Add(new AutoCompleteDataColumnInfo("FirstName", 60, true));
this.comboBoxAutoComplete1.AutoCompleteControl.Columns[2].MatchingColumn = true;
this.comboBoxAutoComplete1.DataBindings.Add("Text", this.dataSet11.Tables[0], "FirstName");
}
Here is the sample that populates a ComboBoxAutoComplete with DataView as its DataSource.
Please let me know if you need further assistance. Thanks for your interest in Syncfusion products.
Regards,
Anu
comboBoxAutoComplete_37037.zip