hi its simple

create the object of dataset
fill it with the required data
and write dataset.writeXML("folder path")

the code is  as simple

 ds = New DataSet
dataadapter.Fill(ds, "keyword")
ds.WriteXml("D:\\keywords.xml")

On Jun 22, 7:51 am, Rifky Rafeethu <[email protected]> wrote:
> Thanks Russell,
>
> i have got some ideas through the search. i'll work on it and see..
>
> Rgds
> Rifky
>
> On Wed, Jun 16, 2010 at 10:58 PM, Stephen Russell 
> <[email protected]>wrote:
>
> > On Wed, Jun 16, 2010 at 3:10 AM, Rifky Rafeethu <[email protected]>
> > wrote:
> > > Thanks for the reply,
>
> > > it's good that you remind about the folder security. i forget about it.
>
> > > my Data relies in SQL Database. when the user click a button (say export)
> > > then i have to get the data from the Database and write to an XML file in
> > to
> > > specific folder.
>
> > > and also what is the best way to xml file. there are lot of methods
> > > mentinoned in web such as using XMLDocumnt, XMLtextWriter etc. i'm bit
> > > confused on writing xml.
>
> > > i dont' know how to get this done to a specific folder. and which method
> > to
> > > you to write xml.
> > ----------------------------------
>
> > A jedi he is not.
>
> > <http://www.lmgtfy.com/?q=C%23+toXML>
>
> > --
> > Stephen Russell
>
> > Sr. Production Systems Programmer
> > CIMSgts
>
> > 901.246-0159 cell

Reply via email to