Results 1 to 2 of 2

Thread: Result from XML Web Service

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Location
    Thailand
    Posts
    221

    Question Result from XML Web Service

    I got something like this from one web service but I don't know how to fill up my dataset because it return string value.

    <?xml version="1.0" encoding="utf-8" ?>
    <string xmlns="http://www.webserviceX.NET">
    <NewDataSet>
    <Table>
    <Name>Albania</Name>
    </Table>
    <Table>
    <Name>Albania</Name>
    </Table>
    <Table>
    <Name>Algeria</Name>
    </Table>
    <Table>
    <Name>Algeria</Name>
    </Table>
    <Table>
    <Name>American Samoa</Name>
    </Table>
    <Table>
    <Name>American Samoa</Name>
    </Table>
    <Table>
    <Name>Andorra, Principality of</Name>
    </Table>
    <Table>
    <Name>Andorra, Principality of</Name>
    </Table>
    <Table>
    <Name>Angola</Name>
    </Table>
    <Table>
    <Name>Angola</Name>
    </Table>
    <Table>
    <Name>Anguilla</Name>
    </Table>
    <Table>
    <Name>Anguilla</Name>
    </Table>
    <Table>
    <Name>Antarctica</Name>
    </Table>
    <Table>
    <Name>Antarctica</Name>
    </Table>
    </NewDataSet>
    </string>
    Teeravee Sirinapasawasdee
    Gestalt IT Consulting Group
    Growth Your Business With e-Process

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Here is how . Just use the dataset .ReadXML method to fill it then you can bind it to any control using datasource property .
    Attached Files Attached Files

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