コード例 #1
0
        public string GetXMLFieldValue(string bindField)
        {
            string value = "";

            string[] strs        = bindField.Split('.');
            string   fieldName   = strs[0];
            string   xmlNodeName = strs[1];

            string xmlStr = GetFieldValue(fieldName);

            Dictionary <string, string> xmlDic = XMLHelper.ConvertXMLToDictionary(xmlStr);

            if (xmlDic.Keys.Contains(xmlNodeName))
            {
                value = xmlDic[xmlNodeName];
            }

            return(value);
        }