//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // AREA DE CONSULTA //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- public DataTable MostraAlunos() { DataTable Tabela = new DataTable(); c.Connection = Conexao.AbrirConexao(); c.CommandText = "MostrarAlunos"; c.CommandType = CommandType.StoredProcedure; leerDados = c.ExecuteReader(); Tabela.Load(leerDados); leerDados.Close(); Conexao.EncerrarConexao(); return(Tabela); }