DataView dv = DropDowns.GetDropDownItems (dropdownType, inspectionType, companyId);
dropdown.DisplayMember = „DropdownItem_DisplayName“; //display naam (dataview kolomnaam)
dropdown.ValueMember = „DropdownItem_Name“; //value achter vertoningsnaam (dataview kolomnaam)
dropdown.DataSource = dv;
dv. Soort = „DropdownItem_DisplayName“;
|