المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Datagridview C# Editable combo box control.



C# Programming
02-11-2010, 08:54 AM
Hello,
I am using a combo box in my Datagridview C# windows forms .Net 2.0,
I am adding the combo box at design time , it seems to work fine when I use the collection and populate it.

But when I fill the datagridview with fill command and the values from the fill command does not exist in the combobox I get an error.

So I need a combo box which is editable.So that user can select values from combo box or write his own values.

After populating the combobox. The values in the combo box must change according to the row selected.

Is it possible using datagridview.

Thanks if anyone would help