示例#1
0
        public clsFormularioCampo(string idCampo)
        {
            this.datosRegistro     = new ClsDatosComunesRegistro();
            this.datosModificacion = new ClsDatosComunesRegistro();
            this.datosEliminacion  = new ClsDatosComunesRegistro();

            this._idCampo = idCampo;
            this.campo    = new clsCampo(_idCampo);
        }
示例#2
0
        void cargarDatos(DataRow r)
        {
            try
            {
                this.obligatorio = Convert.ToBoolean(r["Obligatorio"]);
                this.campo       = new clsCampo(_idCampo);

                //Datos Comunes de Registros
                this.CargarDatosRegistro(r);
            }
            catch (Exception ex)
            {
                throw new System.InvalidOperationException("Error al Cargar Datos \r\nProblemas con el registro adquirido" + ex.Message);
            }
        }