How do I put two database field values in a single combo box? If it is not possible then what is the alternative to do the same?
Printable View
How do I put two database field values in a single combo box? If it is not possible then what is the alternative to do the same?
I suppose you talk about databound combobox
It is possible by concatenating the two fields
when you specify your sql query
In SQL server this works:
For example:
SELECT FirstField + SecondField AS Both
FROM MyTable
Have fun.
Valery Iskarov Nikolov
http://listen.to/quark
Thanks Valery Iskarov Nikolov for ur help.