I have been searching for info about dtatgridview dropdowncomboboxes. I have found all the needed info except how to display info that is available in the dropdown. For example in a list with 5 items say Item1, Item2, Item3, Item4, and Item5 there would be a selection into the database of various members of this list. If it was a textbox column displaying them would be easy, how do I do the same with a combo box This is probably an easy question but I am stumped.
Mike

Datagridview Comboboxes
MJC2006
hi,
what you are looking for is called lookup using a property called "DataPropertyName"
here its my previous post about this
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=347502&SiteID=1
hope this helps
Delroy Ja.
Leo Liu
gon_no1
Are you wanting to know how to populate the data items from the database into a dropdown list
if so...
Take a look at this reply of mine:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=549622&SiteID=1
More specifically look at the foreach loop.
if this is not what you are looking for, please let me know and if possible, could you explain it a bit more in depth
Thanks!
Avi120
hi,
you are welcome, mark the answer as reply plz
best regards