Exemple #1
0
        public void xml_Configure()
        // This method reads the nodes from the list
        {
            try
            {
                //      xl = new cXLWorker(@"e:\ccidev\testCall2.xlsm");



                sView = new sViewEntry();
                int iCnt = 0;
                bProcFlag = false;
                XmlNodeList nodes;
                nodes = xDoc.SelectNodes("//User");
                foreach (XmlNode n in nodes)
                {
                    s     = new sNode("");
                    s.val = n.InnerXml.ToString();
                    iCnt += 1;
                    // if (iCnt>=5) break ;
                    LoopThruChildren(n);
                    sView.aList.Add(s);
                }
            }


            catch (XmlException ex)
            {
                //  Exception ex = new Exception("Error on XML Load");
                throw ex;
            }
            catch (Exception ex)
            {
                throw new ApplicationException("General Error");
            }
        }
 public DBWrite(sViewEntry eSview)
 {
     sView = eSview;
 }