Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            this.vetBusiness = new VetBusiness();

            List <Veterinar> results = this.vetBusiness.GetAllVets();

            ListBoxVet.Items.Clear();
            foreach (Veterinar v in results)
            {
                ListBoxVet.Items.Add(v.Id + ", " + v.FullName + ", " + v.Speciality + ", " + v.Expirience);
            }
        }
Esempio n. 2
0
 public Form1()
 {
     this.vetBusiness = new VetBusiness();
     InitializeComponent();
 }