S
Stanley
Hi,
I have a drop down list box. In the display value field i have set it to
show the name of the item. In the value field i have set it to use the id, so
on the form i will see "Europe" while "on the background" i am using the ID
for this value which is for exmaple "1". When i access this field value in
code i get to see this id, but i want to have the name. How can achieve this?
I have tried:
XDocument.DOM.selectSingleNode("//my:txtName").text
But this gives me the ID. I cannot find any property whixh gives me the name
and not the ID.
Thnx,
Stanley
I have a drop down list box. In the display value field i have set it to
show the name of the item. In the value field i have set it to use the id, so
on the form i will see "Europe" while "on the background" i am using the ID
for this value which is for exmaple "1". When i access this field value in
code i get to see this id, but i want to have the name. How can achieve this?
I have tried:
XDocument.DOM.selectSingleNode("//my:txtName").text
But this gives me the ID. I cannot find any property whixh gives me the name
and not the ID.
Thnx,
Stanley