Results 1 to 2 of 2

Thread: a Question to Guru

  1. #1

    Thread Starter
    Lively Member harsoni's Avatar
    Join Date
    Oct 2000
    Posts
    118

    Question a Question to Guru

    In VB.NET app I create a DataSet object and when i call DataSet. WriteXml method to create an XML data file
    The tag name of the root element of the XML data file is
    <NEWDATASET> how can I change it to 'MYTAG’ through the code.


    Thanks
    Sonia

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    When I set
    VB Code:
    1. myDs.DatasetName="MYDS"
    2. myDs.NameSpace="TEST"

    Then the xml file begins with:
    <?xml version="1.0" standalone="yes"?>
    <MYDS xmlns="TEST">

    is that what you looking for?

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