Hey guys,
I set up my combobox properties
DisplayMember = "CodeValue"
ValueMember = "Code"...
and everything works great so I know they are using the
proper display and associated code values from the dataset.
The problem is - I want to access the actual 'value' that the ValueMember property is referencing.
So if the "Code" value is "REGULAR"...
Than what property of the combobox do I use to get the acutal value so I can do some additional testing ...
such as
if ( combobox.ValueMember = "REGULAR" )...
etc.
Currently, all i get is "Code" which is the column of the DS, so where does the combobox store the value ??
thanks,
-ter
I set up my combobox properties
DisplayMember = "CodeValue"
ValueMember = "Code"...
and everything works great so I know they are using the
proper display and associated code values from the dataset.
The problem is - I want to access the actual 'value' that the ValueMember property is referencing.
So if the "Code" value is "REGULAR"...
Than what property of the combobox do I use to get the acutal value so I can do some additional testing ...
such as
if ( combobox.ValueMember = "REGULAR" )...
etc.
Currently, all i get is "Code" which is the column of the DS, so where does the combobox store the value ??
thanks,
-ter