Exemplo n.º 1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            DataEscuelaDataContext conn        = new DataEscuelaDataContext();
            List <tblEstudiante>   estudiantes = (from es in conn.tblEstudiante select es).ToList();

            VerEstudianteGrid.ItemsSource = estudiantes;
        }
Exemplo n.º 2
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            DataEscuelaDataContext conn        = new DataEscuelaDataContext();
            List <tblEstudiante>   estudiantes = (from es in conn.tblEstudiante select es).ToList();

            EditarEstudianteGrid.ItemsSource = estudiantes;
        }