N
nicholas
I would like to view 2 columns of my datatable in my dropdownlist.
Now I have:
mydropdown.datasource = myDataTable.defaultview
mydropdown.DataValueField = "optionID"
mydropdown.DataTextField = "optionnameFR"
so I just see the "optionnameFR" in the dropdownlist.
and I would like to have this:
mydropdown.datasource = myDataTable.defaultview
mydropdown.DataValueField = "optionID"
mydropdown.DataTextField = "optionnameFR" &
"optionprice"
So I would see for example: "gift wrap +2euro" in the dropdowntextfield.
So it does not have to be 2 columns, but the data of 2 columns should be on
1 line
THX for help,
Nic
Now I have:
mydropdown.datasource = myDataTable.defaultview
mydropdown.DataValueField = "optionID"
mydropdown.DataTextField = "optionnameFR"
so I just see the "optionnameFR" in the dropdownlist.
and I would like to have this:
mydropdown.datasource = myDataTable.defaultview
mydropdown.DataValueField = "optionID"
mydropdown.DataTextField = "optionnameFR" &
"optionprice"
So I would see for example: "gift wrap +2euro" in the dropdowntextfield.
So it does not have to be 2 columns, but the data of 2 columns should be on
1 line
THX for help,
Nic