Results 1 to 5 of 5

Thread: xml to dataset

  1. #1

    Thread Starter
    Registered User
    Join Date
    Jul 2001
    Posts
    283

    xml to dataset

    <watchFolders>
    ..........<folder path="C:\test"/>
    ..........<folder path="C:\New Folder"/>
    </watchFolders>

    if that is my xml file

    and i say
    dim dataset as new dataset()
    dataset.readxml("c:\xmlFile.xml"

    what is the structure of the data in the dataset?
    for example, what kind of tables, columns or rows does it create?

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    A hint , loop through Tables , Columns , Rows objects after calling ReadXML method .

  3. #3
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    The easiest way to tell is to open the xml file in the IDE and switch to data view. The dataset will be exactly like that.

  4. #4
    Lively Member nokia8210's Avatar
    Join Date
    Dec 2002
    Location
    Coventry
    Posts
    92
    how do you do that ? i'm new to xml and i can;t get it to read into a dataset i doing something wrong but i don't anything so it's all proberly wrong?

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Easy ,
    VB Code:
    1. YourDS.ReadXML("XMLFILE")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width