Hi,
Im new to the .NET scene, and for the life of me, I can't figure this out..
In HTML, when you create a combobox (selection list), you can have two values. 1) the data being displayed to the user, and 2) an identifier (usually the database ID of the product name being displayed in the list) or something that you want to use within the code.
For example:
<SELECT NAME="products">
<OPTION VALUE="1001">Beer
<OPTION VALUE="1002">Candy
<OPTION VALUE="1003">Steak
</SELECT>
what is the C#.net equivalent to this ?
thanks in advance
Im new to the .NET scene, and for the life of me, I can't figure this out..
In HTML, when you create a combobox (selection list), you can have two values. 1) the data being displayed to the user, and 2) an identifier (usually the database ID of the product name being displayed in the list) or something that you want to use within the code.
For example:
<SELECT NAME="products">
<OPTION VALUE="1001">Beer
<OPTION VALUE="1002">Candy
<OPTION VALUE="1003">Steak
</SELECT>
what is the C#.net equivalent to this ?
thanks in advance