PDA

Click to See Complete Forum and Search --> : a Question to Guru


harsoni
Mar 13th, 2003, 02:38 PM
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

Lunatic3
Mar 13th, 2003, 03:00 PM
When I set

myDs.DatasetName="MYDS"
myDs.NameSpace="TEST"


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

is that what you looking for?