kitemad69,
You basically want to set the DisplayMember and ValueMember properties
to the name of the columns which contain the display member (description)
and value member (code).
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
<ki*******@gmail.comwrote in message
news:53**********************************@k30g2000 hse.googlegroups.com...
On Jul 23, 4:12 pm, kitema...@gmail.com wrote:
I have a combobox and i have a datatable with 2 columns in it
(description and code) . Now how can i display the description but use
the code as the value member.
And when i display the value member it just says code;