Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
L

Lakhan Pal Garg

@Lakhan Pal Garg
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Reading into XML section and getting same value again
    L Lakhan Pal Garg

    Hi Gareth- Please check this method:

    private void ReadXMLData()
    {
    XmlDocument xDoc=new XmlDocument();
    xDoc.LoadXml("<?xml version=\"1.0\" encoding=\"UTF-8\" ?><Order><Items><Item><Code>A123</Code><Quantity>10</Quantity></Item><Item><Code>A456</Code><Quantity>5</Quantity></Item></Items></Order>");
    XmlNodeList xNodeList = xDoc.GetElementsByTagName("Item");
    for (Int16 iCount = 0; iCount < xNodeList.Count; iCount++)
    {
    Response.Write(xNodeList[iCount].ChildNodes.Item(0).InnerText+ "<br/>");
    Response.Write(xNodeList[iCount].ChildNodes.Item(1).InnerText + "<br/>");
    Response.Write("-----<br/>");
    }
    }

    Thanks & Regards Lakhan Pal Garg Free Code Snippets http://lakhangarg.blogspot.com[^]

    XML / XSL debugging xml help question announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups