Beispiel #1
0
        public profesor_form(string username)
        {
            InitializeComponent();
            this.username = username;
            service       = new ClienRamade.ServiceReference1.WebServiceSoapClient();

            claseDataSet = service.getClase();
            populateDropDown(clasa_drop,
                             claseDataSet,
                             "nume");

            materiiDataSet = service.getMaterii();
            populateDropDown(materii_drop,
                             materiiDataSet,
                             "nume");

            populateNoteDrop(note_drop);
        }
Beispiel #2
0
 //Materii
 private void populateMateriiListBox()
 {
     materiiDataSet            = service.getMaterii();
     box_materii.DataSource    = materiiDataSet.Tables[0];
     box_materii.DisplayMember = "nume";
 }