public Modificaciones() { InitializeComponent(); MC = new MetodosConsulta(); MC.ReadAndLoadScores(C_dataGrid); MC.ReadAndLoadStudents(E_dataGrid); MC.ReadAndLoadSubjects(A_dataGrid); MC.ReadAndLoadTeachers(T_dataGrid); safeToClose = true; }
//Asignatura subject = new Asignatura(); public Consultas() { InitializeComponent(); MetodosConsulta MC = new MetodosConsulta(); notas = MC.ReadAndLoadScores(); estudiantes = MC.ReadAndLoadStudents(E_dataGrid); asignaturas = MC.ReadAndLoadSubjects(A_dataGrid); //ReadScores(); //ReadStudents(); //ReadSubjects(); //ReadTeachers(); MC.ReadAndLoadTeachers(T_dataGrid); loadFinalScores(); loadStudents(); }
protected void BtnBuscar_Click(object sender, EventArgs e) { UsuarioGridView.DataSource = MetodosConsulta.Consultar(ToInt(UsuarioGridView.SelectedIndex), CriterioTextBox.Text); UsuarioGridView.DataBind(); }