Guest User

Untitled

a guest
Jun 24th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.52 KB | None | 0 0
  1. foreach (XmlNode m_Node in m_Root.ChildNodes)
  2.             {
  3.                 if (m_Node.Name.Equals("cas"))
  4.                 {
  5.                     //ziskani atributu konkretniho elementu
  6.                     XmlAttributeCollection m_Atts = m_Node.Attributes;
  7.                     foreach (XmlAttribute m_Attribute in m_Atts)
  8.                     {
  9.                         //vypsani nazvu a hodnoty attributu
  10.                         listBox1.Items.Add(m_Attribute.Value);
  11.                     }
  12.                 }
  13.             }
Add Comment
Please, Sign In to add comment