Display Label or Value on DataTable
Display Label or Value on DataTable
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
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
This discussion has been closed.
Replies
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