System.ArgumentException: The node to be removed is not a child of this node. at System.Xml.XmlNode.RemoveChild(XmlNode oldChild) at System.Xml.XmlAttribute.RemoveChild(XmlNode oldChild) at System.Xml.XmlNode.RemoveAll() at System.Xml.XmlNode.set_InnerText(String value) at System.Xml.XmlAttribute.set_InnerText(String value) at System.Xml.XmlAttribute.set_Value(String value) at tfox.CommonLibrary.CommonClass.AddNodeAttribute(XmlNode node, String AttributeName, String AttributeValue) at tfox.fenzhan.NGenerateSub.BindPageData(StringBuilder sb, String condition, Int32 page, Int32& totals, String& pageinfo, Int32& pagesize) at tfox.fenzhan.NGenerateSub.GenerateProList(String rootPath, String template, StringBuilder sb, StringBuilder temp, String condition, String contents, DataRow row, String typeid1, String id, String page)