Loading an XML into DataSet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aatif
    New Member
    • Mar 2009
    • 28

    Loading an XML into DataSet

    Hello, I have to load an xml document into a DataSet. Anybody has some code snippet?

    Suppose the xml doc is standalone and has a root and some variable number of child nodes. Child nodes have attributes like 'id', 'type' etc ...
    I want to to use dataset to get the info of nodes, like type of node having id = ...
  • PRR
    Recognized Expert Contributor
    • Dec 2007
    • 750

    #2
    Look into DataSet ReadXml .. Remember though your xml doc should be compatible with table/rows...

    Comment

    • aatif
      New Member
      • Mar 2009
      • 28

      #3
      Thanks.

      Originally posted by DeepBlue
      Remember though your xml doc should be compatible with table/rows...
      You mean schema?

      Comment

      Working...