Example #1
0
        public DataTable leer()
        {
            sql = "SELECT "
                  + "ID_MATERIA,"
                  + "NOMBRE,"
                  + "ID_PROFESOR"

                  + " FROM "
                  + "MATERIA";
            return(mod.llenarDT(sql));
        }
Example #2
0
        public DataTable leer()
        {
            sql = "SELECT "
                  + "ID_PROFESOR,"
                  + "NOMBRE,"
                  + "APELLIDO"

                  + " FROM "
                  + "PROFESOR";
            return(mod.llenarDT(sql));
        }
 public DataTable leer()
 {
     sql = "SELECT "
           + "ID_ESTUDIANTE,"
           + "NOMBRE,"
           + "APELLIDO,"
           + "DIRECCION,"
           + "EDAD,"
           + "ID_MATERIA"
           + " FROM "
           + "ESTUDIANTE";
     return(mod.llenarDT(sql));
 }
        protected DataTable ObtenerEdades()
        {
            sql = "SELECT "

                  + "EDAD"

                  + " FROM "
                  + "ESTUDIANTE";
            return(mod.llenarDT(sql));
        }