Click here to Skip to main content
15,921,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i'm a wpf beginner..
i have a integer field in my sql database which can only have 3 values (1,2,3)..
i want to bind them to my combobox itemsource so that (1 always corresponds to "hi", 2 always corresponds to "hello", 3 always corresponds to "howdy")
How do we do that?
Thanks in advance :)
Posted

1 solution

 
Share this answer
 
Comments
tomgeo19 21-Sep-11 1:40am    
thanks but is there any specific solution to this problem?
Prerak Patel 21-Sep-11 3:16am    
Read that article and do it step by step. You'll get it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900