Example #1
0
 static void diuFIhx(System.Runtime.InteropServices.SEHException Ckwi, System.Web.UI.WebControls.FormViewPageEventHandler pmXXulx, System.Web.ProcessInfo UXOnKIG, System.Windows.Forms.DataGridViewAutoSizeColumnModeEventArgs OcXocf)
 {
     System.Web.UI.WebControls.FontUnitConverter     zMWbe                = new System.Web.UI.WebControls.FontUnitConverter();
     System.Web.Security.DefaultAuthenticationModule ceJjPs               = new System.Web.Security.DefaultAuthenticationModule();
     System.Web.UI.ObjectStateFormatter YrZnHYu                           = new System.Web.UI.ObjectStateFormatter();
     System.Data.SqlTypes.TypeRealSchemaImporterExtension JNYL            = new System.Data.SqlTypes.TypeRealSchemaImporterExtension();
     System.CodeDom.CodeThrowExceptionStatement           KSQko           = new System.CodeDom.CodeThrowExceptionStatement();
     System.Web.UI.WebControls.TableRow          kTn                      = new System.Web.UI.WebControls.TableRow();
     System.TypeInitializationException          kWOTt                    = new System.TypeInitializationException("DnJvbUmEBb", new System.Exception());
     System.Web.UI.WebControls.HotSpotCollection TlZ                      = new System.Web.UI.WebControls.HotSpotCollection();
     System.Web.UI.HtmlControls.HtmlMeta         bYWLMKb                  = new System.Web.UI.HtmlControls.HtmlMeta();
     System.Threading.ThreadStateException       PDolU                    = new System.Threading.ThreadStateException();
     System.Data.OleDb.OleDbEnumerator           NxZR                     = new System.Data.OleDb.OleDbEnumerator();
     System.Runtime.InteropServices.SEHException nPiw                     = new System.Runtime.InteropServices.SEHException("lwdiEhLZzaWCQz");
     System.Web.UI.WebControls.XmlDataSource     qCy                      = new System.Web.UI.WebControls.XmlDataSource();
     System.Web.UI.WebControls.WebParts.PersonalizationDictionary HMgdxBz = new System.Web.UI.WebControls.WebParts.PersonalizationDictionary();
     System.Net.Configuration.SmtpSpecifiedPickupDirectoryElement xFdgY   = new System.Net.Configuration.SmtpSpecifiedPickupDirectoryElement();
     System.CodeDom.CodeIterationStatement tOAyBU                         = new System.CodeDom.CodeIterationStatement();
     System.Web.UI.WebControls.Content     FKcstoM                        = new System.Web.UI.WebControls.Content();
     System.Resources.MissingSatelliteAssemblyException shC               = new System.Resources.MissingSatelliteAssemblyException("MVTEvazwfl", new System.Exception());
     System.CodeDom.CodeNamespace                       sBd               = new System.CodeDom.CodeNamespace("CBDlENnQEYaGMNaJF");
     System.Security.Policy.Publisher                   CXUTb             = new System.Security.Policy.Publisher(new System.Security.Cryptography.X509Certificates.X509Certificate());
     System.Windows.Forms.LinkClickedEventArgs          UzGdiZc           = new System.Windows.Forms.LinkClickedEventArgs("cxLJ");
     System.Web.UI.WebControls.FormViewUpdatedEventArgs jYKx              = new System.Web.UI.WebControls.FormViewUpdatedEventArgs(497644070, new System.Exception());
     System.Web.Configuration.XhtmlConformanceSection   IJvBQNF           = new System.Web.Configuration.XhtmlConformanceSection();
 }
Example #2
0
        public static System.Web.UI.WebControls.XmlDataSource ObtenerRepresentacionXmlDataSource(int workflowId)
        {
            using (SqlServerTreeProvider treeProvider = new SqlServerTreeProvider())
            {
                // create an XmlDocument (with an XML declaration)
                XmlDocument    XDoc = new XmlDocument();
                XmlDeclaration XDec = XDoc.CreateXmlDeclaration("1.0", null, null);
                XDoc.AppendChild(XDec);

                // create an element node to insert
                // note: Element names may not have spaces so use ID
                // note: Element names may not start with a digit so add underscore
                XmlElement NewNode = XDoc.CreateElement("_0");
                NewNode.SetAttribute("ID", "0");
                NewNode.SetAttribute("ParentID", "-1");
                NewNode.SetAttribute("FullName", "Arbol de Politicas");
                XDoc.AppendChild(NewNode);  // root node

                ArrayList Array = treeProvider.GetChildren(0, workflowId);

                int i = 0;
                foreach (Joagraphic.App_Code.DataAccess.TreeNode tn in Array)
                {
                    NewNode.AppendChild(tn.GetXmlView(++i, XDoc, treeProvider, -1));
                }

                // we cannot bind the TreeView directly to an XmlDocument
                // so we must create an XmlDataSource and assign the XML text
                System.Web.UI.WebControls.XmlDataSource XDdataSource = new System.Web.UI.WebControls.XmlDataSource();
                XDdataSource.ID   = DateTime.Now.Ticks.ToString(); // unique ID is required
                XDdataSource.Data = XDoc.OuterXml;

                return(XDdataSource);
            }
        }