CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2002
    Posts
    3

    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?

  2. #2
    Join Date
    Jun 2002
    Posts
    936

    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.

  3. #3
    Join Date
    Aug 2002
    Posts
    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
  •  





Click Here to Expand Forum to Full Width

Featured