|
-
June 17th, 2009, 12:46 PM
#1
Empty DataGridViewComboBoxColumn
I am trying to add a combobox column to a datagrid. The combobox is data bound dynamically. However on the form the combobox was empty.
Then I removed all code that was binding the combobox to the datasource and used the Items Collection at design time. The combobox was still empty. Am I missing something? Is there any property that has to be set for this to work?
-
June 17th, 2009, 12:57 PM
#2
Re: Empty DataGridViewComboBoxColumn
I don't know if i answer your question, but you have to click on the property of the specified combobox column and populate it. For instance if your combobox is column3, then you select it by pulling it down from the property dropbox, then fill the items by passing the items to that combobox.
-
June 17th, 2009, 01:29 PM
#3
Re: Empty DataGridViewComboBoxColumn
This is how I have set it up. I seem to be missing something!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|