How can I get a GridDropDownList to work with entity framework. Specifically how can I attach a field to the DataTextField property and another field to the DataValueField property? Please see the example below.
Thanks for the speedy reply. Unfortunately the code you supplied didn't work for me. Also, I needed to have 2 different values for the DataTextField property and DataValueField property and I needed to do this using EF. However, I was able to get the code to work the way I wanted. Please find the working code below: