Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Different ComboBox in Each Row of DataGridView

$
0
0

 

Hi,

 

Can I have a ComboBoxColumn in a DataGridView with different items in the ComboBox of each row?

 

For instance, suppose there's a DataGridView in a Windows Form with rows of customer info. There's a column that shows the gender and a ComboBoxColumn to set the title. If the customer is male, the ComboBox will contain "Mr", "Dr" etc, otherwise it will have "Miss", "Mrs" etc.

 

How can this be done?

 

I saw this post but can't quite understand what it means.

http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=3311173&SiteID=1

 

 

Thanks,

ywb


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>