示例#1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!ReadNodeId())
                Response.Redirect("Error.aspx");

            string vxkConnection = ConfigurationHelper.ReadString("VXK.Connection");
            TimeSpan vxkTimeout = ConfigurationHelper.ReadTimeSpan("VXK.Timeout");

            VXStorageConnection conn = new VXSqlStorageConnection();
            conn.Parse(vxkConnection);
            VXKManager vxk = new VXKSqlManager(conn);
            vxk.CommandTimeout = vxkTimeout;

            DataMap map = new DataMap();
            map.Load(vxk, m_nodeId);

            m_renderedItems = map.BuildRenderedItems();
        }