Beispiel #1
0
        private void LoadList()
        {

            EClass d = new EClass();
            DataTable dt = d.GetClasses();

            grdList.AutoGenerateColumns = false;
            grdList.DataSource = dt;
        }
Beispiel #2
0
        private void FillClassCombo()
        {

            EClass c = new EClass();
            DataTable dt = c.GetClasses();
            cbxClass.DataSource = dt;
            cbxClass.DisplayMember = "CName";
            cbxClass.ValueMember = "ClassID";
            IsClassesLoaded = true;

        }