Value from another model


I have a master table A contains [ id - name - typeID ] and also I have another table B contains all types

[ typeID - typeDescription ].

So I fill type in table A using table B by dropdownList.

Everything is ok.

When I list data in table A , I got TypeID, but I want to display typeDescription in table B , becasue there is a relation.

How can I do it ?


look here DropDown List populated from another model