Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
 System.Collections.ObjectModel.Collection <Pemi.Esoda.DTO.SimpleLookupDTO> IEditRegistryItemTask.GetCustomers(int customerType)
 {
     return(dao.GetCustomers(customerType));
 }