Example #1
0
        public bool EliminarEstudio(EEstudio entEstudio)
        {
            // Trae la fila encontrada con el CodError y el Mensaje
            DataRow fila = datos.TraerDataRow("spEliminarEstudio", entEstudio.CodEstudio);
            // Obtengo el CodError y Mensaje de fila
            byte codError = Convert.ToByte(fila["CodError"]);

            mensaje = fila["Mensaje"].ToString();
            if (codError == 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Example #2
0
        public bool ActualizarEstudio(EEstudio entEstudio)
        {
            // Trae la fila encontrada con el CodError y el Mensaje
            DataRow fila = datos.TraerDataRow("spActualizarEstudio", entEstudio.CodEstudio, entEstudio.Vision, entEstudio.Institucion, entEstudio.Facultad, entEstudio.Carrera, entEstudio.Inicio, entEstudio.Fin, entEstudio.CodCuenta);
            // Obtengo el CodError y Mensaje de fila
            byte codError = Convert.ToByte(fila["CodError"]);

            mensaje = fila["Mensaje"].ToString();
            if (codError == 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Example #3
0
 public DataSet ListarEstudios(EEstudio estudio)
 {
     throw new NotImplementedException();
 }
Example #4
0
 public bool InsertarEstudio(EEstudio estudio)
 {
     throw new NotImplementedException();
 }
Example #5
0
 public bool EliminarEstudio(EEstudio estudio)
 {
     throw new NotImplementedException();
 }
Example #6
0
 public bool ActualizarEstudio(EEstudio estudio)
 {
     throw new NotImplementedException();
 }