Somewhat confusing.

Which property of ComboBox you are using to return back the Value?

SelectedIndex?

If Yes try using SelectedValue

P.S. Assuming you have done proper Data binding.


On Fri, Mar 5, 2010 at 1:40 AM, 50cal <[email protected]> wrote:

> Hey all,
>
> I'm trying to achieve the following:
>
> Example Data
> <ID>        <Desc>
> 1             - "This is number one"
> 2             - "This is number two"
> 52           - "this is number three"
>
> So as you can see the ID does not always resemble the data, I.E 52 is
> the third item in the list not the 52nd.
>
> I want the description to show in the combo box, but I want the value
> (ID) to be the value returned.
>
> Can this be achieved?
>
> Many Thanks,
> Dave.
>

Reply via email to