This is a migrated thread and some comments may be shown as answers.

problema con valuemember en radcomboBox

1 Answer 70 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Laura
Top achievements
Rank 1
Laura asked on 05 Jun 2010, 04:18 PM
Hola, utilizo la version 2009 q3 con sp1 para winforms y tengo un problema al enlazar un datasource al radcomboBox
tengo un datatable llamado dt cuya consulta sql es : "Select id, nombre from cuentas"
suponiendo que tengo un radComboBox llamado cmbcuenta


cmbCuenta.datasource = dt
cmbCuenta.displaymember= "nombre"
cmbCuenta.valueMember = "id"

En la ejecucion de mi programa el nombre se ve perfectamente y en el evento selectValueChange programa que en un textbox se vea el valuemember de la cuenta que me selecciono. Algo como esto:

miText.text = cmbCuentas.valuemember
El caso es que no funciona el "id", asocia bien el nombre pero al poner id en miText.text se coloca la palabra "id".
Alguna sugerencia?

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 10 Jun 2010, 05:03 AM
Hi Laura,

Thank you for writing.

Please post your question in English as this is the official language for support communication at Telerik and the language tools are producing an incomprehensible translation of the last paragraph. I am looking forward to your reply. 

Kind regards,
Victor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Laura
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or