Display Label or Value on DataTable

Display Label or Value on DataTable

TakumaTakuma Posts: 3Questions: 0Answers: 0
edited August 2013 in Editor
Hi,
i hava a DropDownList with colors.
i have value with "id" and label: color.
When a color is selected, the id is stored in a Database. Thats fine.
But:
The DataTable is showing the value (id). What i want is, that the lable is shown in the DataTable.

Is there an easy way to solve this problem?

Thanks, Taku

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Are you able to run the table through the debugger so I can see there data that is being used, or perhaps a link to the page please?

    Yes what you are looking for is absolutely possible, usually with a join, but the "correct" answer will depend upon your data structure (have you got it doing a join already?).

    Allan
This discussion has been closed.