예제 #1
0
        private void LoadComboBoxUstanove()
        {
            BusinessLogic.Ustanove ustanove = new BusinessLogic.Ustanove();

            this.ComboBoxUstanova.DataSource = ustanove.GetUstanoveComboBox();
            this.ComboBoxUstanova.DataBind();
        }
예제 #2
0
 private void NapuniUstanove()
 {
     BusinessLogic.Ustanove ustanove = new BusinessLogic.Ustanove();
     cmbUstanova.DisplayMember = "Naziv";
     cmbUstanova.ValueMember   = "ID";
     cmbUstanova.DataSource    = ustanove.GetUstanoveComboBox();
 }