I have a grid thatI have bound to an entity of one type, which needs a combo box that loads a seperate entity of another type. The relation is a foreign key, which I have set to the value member, and it displays some text describing the selection. For instance, if my grid were bound to an entity "CarMake", my combo box would load a seperate table "CarModel", connected by "CarMakeID".

I tried doing this at the designer level, setting the column type to a combo box and setting all the pertinent values such as value member and display member. But when I go to run it doesn't load. There is a utility method that we have created that I tried to use. It loaded the combo box perfectly, but when I tried to remove focus, it gave me an exception of "Object does not match Target Type."

If there is a way to do it simply at the designer level that would be the best option. Obviously I cannot ask for help with our own utility methods, but maybe someone could give me some insight on why this exception would be thrown period.