Information générale
Catégorie:
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement