//
        //  Page class constructor
        //
        public cTiposDocumentos_list(AspNetMaker9_ControlVehicular APage)
        {
            m_ParentPage = APage;
            m_Page = this;
            m_PageID = "list";
            m_PageObjName = "TiposDocumentos_list";
            m_PageObjTypeName = "cTiposDocumentos_list";

            // Initialize language object
            if (Language == null)
                Language = new cLanguage(this);

            // Initialize table object
            if (TiposDocumentos == null)
                TiposDocumentos = new cTiposDocumentos(this);
            if (Usuarios == null)
                Usuarios = new cUsuarios(this);

            // Table
            m_TableName = "TiposDocumentos";
            m_Table = TiposDocumentos;
            CurrentTable = TiposDocumentos;

            //CurrentTableType = TiposDocumentos.GetType();
            // Initialize URLs

            ExportPrintUrl = PageUrl + "export=print";
            ExportExcelUrl = PageUrl + "export=excel";
            ExportWordUrl = PageUrl + "export=word";
            ExportHtmlUrl = PageUrl + "export=html";
            ExportXmlUrl = PageUrl + "export=xml";
            ExportCsvUrl = PageUrl + "export=csv";
            ExportPdfUrl = PageUrl + "export=pdf";
            AddUrl = "TiposDocumentosadd.aspx";
            InlineAddUrl = PageUrl + "a=add";
            GridAddUrl = PageUrl + "a=gridadd";
            GridEditUrl = PageUrl + "a=gridedit";
            MultiDeleteUrl = "TiposDocumentosdelete.aspx";
            MultiUpdateUrl = "TiposDocumentosupdate.aspx";

            // Connect to database
            if (Conn == null)
                Conn = new cConnection();

            // Initialize list options
            ListOptions = new cListOptions();

            // Export options
            ExportOptions = new cListOptions();
            ExportOptions.Tag = "span";
            ExportOptions.Separator = "  ";
        }
        //
        //  Page class constructor
        //
        public cTiposDocumentos_add(AspNetMaker9_ControlVehicular APage)
        {
            m_ParentPage = APage;
            m_Page = this;
            m_PageID = "add";
            m_PageObjName = "TiposDocumentos_add";
            m_PageObjTypeName = "cTiposDocumentos_add";

            // Initialize language object
            if (Language == null)
                Language = new cLanguage(this);

            // Initialize table object
            if (TiposDocumentos == null)
                TiposDocumentos = new cTiposDocumentos(this);
            if (Usuarios == null)
                Usuarios = new cUsuarios(this);

            // Table
            m_TableName = "TiposDocumentos";
            m_Table = TiposDocumentos;
            CurrentTable = TiposDocumentos;

            //CurrentTableType = TiposDocumentos.GetType();
            // Initialize URLs
            // Connect to database

            if (Conn == null)
                Conn = new cConnection();
        }
        //
        //  Page class constructor
        //
        public cTiposDocumentos_view(AspNetMaker9_ControlVehicular APage)
        {
            m_ParentPage = APage;
            m_Page = this;
            m_PageID = "view";
            m_PageObjName = "TiposDocumentos_view";
            m_PageObjTypeName = "cTiposDocumentos_view";

            // Initialize language object
            if (Language == null)
                Language = new cLanguage(this);

            // Initialize table object
            if (TiposDocumentos == null)
                TiposDocumentos = new cTiposDocumentos(this);
            if (Usuarios == null)
                Usuarios = new cUsuarios(this);

            // Table
            m_TableName = "TiposDocumentos";
            m_Table = TiposDocumentos;
            CurrentTable = TiposDocumentos;

            //CurrentTableType = TiposDocumentos.GetType();
            // Initialize URLs

            string KeyUrl = "";
            if (ew_NotEmpty(ew_Get("IdTipoDocumento"))) {
                RecKey["IdTipoDocumento"] = ew_Get("IdTipoDocumento");
                KeyUrl += "&IdTipoDocumento=" + ew_UrlEncode(RecKey["IdTipoDocumento"]);
            }
            ExportPrintUrl = PageUrl + "export=print" + KeyUrl;
            ExportHtmlUrl = PageUrl + "export=html" + KeyUrl;
            ExportExcelUrl = PageUrl + "export=excel" + KeyUrl;
            ExportWordUrl = PageUrl + "export=word" + KeyUrl;
            ExportXmlUrl = PageUrl + "export=xml" + KeyUrl;
            ExportCsvUrl = PageUrl + "export=csv" + KeyUrl;
            ExportPdfUrl = PageUrl + "export=pdf" + KeyUrl;

            // Connect to database
            if (Conn == null)
                Conn = new cConnection();

            // Export options
            ExportOptions = new cListOptions();
            ExportOptions.Tag = "span";
            ExportOptions.Separator = "  ";
        }