Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
415
Use an Id as Value and a Name as Text
posted

Hi experts

I have a column which has an ultracombo as editorcomponent.
this ultracombos datasource points to some parent table (of my ultragrid's datasource).
In my example it points to a table which holds vehicles.
So the user can easily pick a vehicle and assign it to the current record.

the ultragrid's datasource is a datatable consisting of a sql-join-statement (also including this vehicle table)
My question is:
How can I have the vehicle's ID as value and the vehicle's Licence-Number as Text?

It's no problem when choosing from my ultracombo cause I can defined value- and displaymember.
But how can I do that with my join-datatable?

Hope it's clear what I mean