J
Jerry
I have a dropdown list and I am linking it to a database
table called "Product". The fields in the database are
ProductID (PK), price, and description. I am assigning
the description field from the DB to the text field (what
gets displayed) in the dropdown. I am assigning the
price from the DB to the Value in the dropdown list.
Data:
the second item in the list has a price of 10.00 and the
fourth item in the list also has a price of 10.00. All
of the other prices are different.
Problem: When you click the fourth item the second item
is displayed. So it appears that .NET is using the value
field and displaying the first record it sees with that
value rather than using the index of the dropdown list.
This seems to me to be a .NET bug.
Any ideas?
Thanks,
Jerry
table called "Product". The fields in the database are
ProductID (PK), price, and description. I am assigning
the description field from the DB to the text field (what
gets displayed) in the dropdown. I am assigning the
price from the DB to the Value in the dropdown list.
Data:
the second item in the list has a price of 10.00 and the
fourth item in the list also has a price of 10.00. All
of the other prices are different.
Problem: When you click the fourth item the second item
is displayed. So it appears that .NET is using the value
field and displaying the first record it sees with that
value rather than using the index of the dropdown list.
This seems to me to be a .NET bug.
Any ideas?
Thanks,
Jerry