A foreign key lookup can be assigned with the
lookup property. The way the lookup is used when editing the column value can be controled with the
editControlType property. A edit lookup can be implemented with the following styles
DropDownList,
TextBoxLookup,
AutoCompleteLookup,
TextBoxSearchLookup,
ListBox or
RadioButtonList. In this example lookups are applied to the
CatgeoryID and
SupplierID columns.