System.NullReferenceException: Object reference not set to an instance of an object. at System.Xml.XmlAttributeCollection.get_ItemOf(String name) at tfox.CommonLibrary.CommonClass.AddNodeAttribute(XmlNode node, String AttributeName, String AttributeValue) at tfox.fenzhan.NGenerateSub.GenerateNode(String filter, XmlNode node) 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)