reterive Xml attribute values [modified]
C#
2
Posts
2
Posters
0
Views
1
Watching
-
hi I have a XML like"row BLDG_CDE="01 100" BLDG_AMENITY_TYPE_CDE="DFA" BLDG_AMENITY_AVG_SAVINGS_AMT="6666.00" BLDG_AMENITY_RMRK=""/
-
hi I have a XML like"row BLDG_CDE="01 100" BLDG_AMENITY_TYPE_CDE="DFA" BLDG_AMENITY_AVG_SAVINGS_AMT="6666.00" BLDG_AMENITY_RMRK=""/
Have a look at the XmlTextReader class. Use MoveToFirstAttribute, MoveToNextAttribute and ReadAttributeValue methods to read the value for each attribute. http://msdn2.microsoft.com/en-us/library/system.xml.xmltextreader.aspx Paul