Last post May 09, 2006 10:13 PM by riversr
May 09, 2006 04:19 PM|riversr|LINK
I am trying to create a mobile:list control that will function similar to a DropDownList. By that I mean, I want to display a text value in the mobile:list but when the user selects an item, I want to use the value field to process the selection. My entire
database is driven from the ID in the value field, not that readable name.
I am trying to populate the list with the results of a DataReader. The result has two fields, a text value and an associated ID(integer) field. I tried to use the items.add method but it will only accept one string which will act as the text field but not
the value field.
Is there anyway to do this, or am I showing my newbie condition with mobile controls?
May 09, 2006 10:13 PM|riversr|LINK
One point of clarification: I need to add DataTextField and DataValueField to the mobile:list control programmatically. I know how to do it in the form but can't seem to do it in the VB code.