General information
Category:
The Mere Mortals .NET Framework
I understand how to add the Combo Box and data bind it. My problem is that the combo box for each row needs to show different data. One row may have units of measure of Each, Box and Dozen. The next row may have Each, Foot and Bundle. Base on the user's selection, I set the price for the item/unit of measure combination.
I have resorted to using an unbound combobox and adding the units of measure as a string when I validate the inventory item. I then combine the unit of measure and the primary key of the inventory item as a key to look up the data in a dictionary object containing data retrieved from the database when the item was selected. Not real elegant, but it does work.
Thanks,
Jeff
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only