Esempio n. 1
0
        public static string Eliminar(int id_profesor)
        {
            DProfesor Obj = new DProfesor();

            Obj.Id_profesor = id_profesor;

            return(Obj.Eliminar(Obj));
        }
Esempio n. 2
0
        public static DataTable buscarnombre(string textbuscar1, string textbuscar3)
        {
            DProfesor Obj = new DProfesor();

            Obj.TextBuscar1 = textbuscar1;
            Obj.TextBuscar3 = textbuscar3;
            return(Obj.BuscarNombre(Obj));
        }
Esempio n. 3
0
        public static string Insertar(string nombre, string apellido, string dni, string celular, string email, DateTime fecha_naci, string edad, int id_año)
        {
            DProfesor Obj = new DProfesor();

            Obj.Nombre     = nombre;
            Obj.Apellidos  = apellido;
            Obj.Dni        = dni;
            Obj.Celular    = celular;
            Obj.Email      = email;
            Obj.Fecha_naci = fecha_naci;
            Obj.Edad       = edad;
            Obj.Id_año     = id_año;
            return(Obj.Insertar(Obj));
        }