Example #1
0
        void Select()
        {
            if (tbl.Count > 0)
            {
                tbl.Clear();
            }

            //
            tbl = lista.TodosOsAlunos();
            MeuGrid.ItemsSource = tbl;
            TotalLinhas();
        }
Example #2
0
        //System.Windows.Forms.BindingSource Bd;

        public ListaAlunos()
        {
            //this.Content = "Garregando os Dados";
            // Bd = new System.Windows.Forms.BindingSource();
            turmas = new TurmasDAO();
            tbl    = new AlunosEnt();
            lista  = new AlunosDAO();

            tbl = lista.TodosOsAlunos();


            InitializeComponent();
        }