internal static CT_ExternalSheetDataSet Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            CT_ExternalSheetDataSet ctObj = new CT_ExternalSheetDataSet();

            foreach (XmlNode childNode in node.ChildNodes)
            {
                ctObj.sheetDataField.Add(CT_ExternalSheetData.Parse(childNode, namespaceManager));
            }
            return(ctObj);
        }
        internal static CT_ExternalSheetData Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            CT_ExternalSheetData sheetData = new CT_ExternalSheetData();

            sheetData.refreshErrorField = XmlHelper.ReadBool(node.Attributes["refreshError"]);
            sheetData.sheetIdField      = XmlHelper.ReadUInt(node.Attributes["sheetId"]);
            foreach (XmlNode childNode in node.ChildNodes)
            {
                if (childNode.LocalName == "row")
                {
                    sheetData.rowField.Add(CT_ExternalRow.Parse(childNode, namespaceManager));
                }
            }
            return(sheetData);
        }
예제 #3
0
 internal static CT_ExternalSheetData Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     CT_ExternalSheetData sheetData = new CT_ExternalSheetData();
     sheetData.refreshErrorField = XmlHelper.ReadBool(node.Attributes["refreshError"]);
     sheetData.sheetIdField = XmlHelper.ReadUInt(node.Attributes["sheetId"]);
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "row")
             sheetData.rowField.Add(CT_ExternalRow.Parse(childNode, namespaceManager));
     }
     return sheetData;
 }