workat
workat

Reputation: 63

C# WinForm DataGridView with autocomplete ComboBox column supplied with dynamic data from database source

I need to add a ComboBox column in my datagrdiview (winform) with these simple functionalities:

I tried to set datasource of myComboBoxColumn at KeyDown event of editing control (the combobox) with no success.

Upvotes: 0

Views: 589

Answers (1)

Bhanuprathap Bussa
Bhanuprathap Bussa

Reputation: 66

There are two Properties you need to write for ComboBox Column 1. column1.AutoCompleteMode=AutoCompleteMode.Suggest; 2. column1.AutoCompleteSource=AutoCompleteSource.ListItems;

Upvotes: 0

Related Questions