Hello,
i want to insert "select" at 0 index in combobox in windows form.
i used following syntax :
cmbShadeName.Items.Insert(0, "select");
but it is not working and give error :
"Items collection cannot be modified when the DataSource property is set."
please provide me correct solution.
Insert item with selectindex in combobox in windows from
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Prasant JinagaRank #2,383 · 594 reputationPosted Jun 28, 2011, 11:22 PM EDT
May be insert directly in to the datasource before binding...
ex:
Thanks & Regards,
Prasant
Vilas GiteRank #951 · 2.1K reputationPosted Jun 29, 2011, 12:02 AM EDT
try to before data binding
http://stackoverflow.com/questions/3063398/items-collection-cannot-be-modified-when-the-datasource-property-is-set-anyway
If this reply hepls your post…then "MARK AS ANSWER"!