Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Display Detail Grid in Combobox Control
 

Display Detail Grid in Combobox Control

Is there anyway to use Datagridview for displaying detailed information in Combobox using C#.net
Hayat1985  Friday, July 24, 2009 10:00 AM

Do you mean you want to display something using DataGridViewCombobox?

You can set the datasource, DisplayMember, ValueMember properties of DataGridViewCombobox.

datagridviewcomboboxcolumn1.DataSource = datatable1;

datagridviewcomboboxcolumn1.DisplayMember = "col01";

datagridviewcomboboxcolumn1.ValueMember = "col02";

Best regards,

Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Monday, July 27, 2009 2:30 PM

We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Friday, July 31, 2009 2:57 AM

You can use google to search for other answers

Custom Search

More Threads

• Terrarium Status -- Contest, Framework 1.1
• C# source avaliable!!!
• what is up with terrarium
• State of Affairs
• New Terrarium Toy!
• From TaskVision to WeRock
• MDI Parent Samples
• Extending IssueVision / code group
• How to create web-based applications without using asp.net
• draw a waveform