private void WczytajListeInteresantow(int typInteresanta) { RegistryDAO rd = new RegistryDAO(); ddlSendersList.DataSource = rd.GetCustomers(typInteresanta); lnkEdit.Visible = (ddlSendersList.DataSource as ICollection).Count != 0; ddlSendersList.DataValueField = "ID"; ddlSendersList.DataTextField = "Description"; ddlSendersList.DataBind(); }
System.Collections.ObjectModel.Collection <Pemi.Esoda.DTO.SimpleLookupDTO> IEditRegistryItemTask.GetCustomers(int customerType) { return(dao.GetCustomers(customerType)); }