Re: Is there a way to convert ms sql 2008 tables to XML files?
- From: "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx>
- Date: Fri, 12 Jun 2009 10:12:38 -0400
re:
!> Is there a way to convert ms sql 2008 tables to XML files?
Create a stored procedure which contains the select statement you wish to use.
Make sure that the select statements creates the XML data
the way you want it, using the FOR XML AUTO clause.
Then use System.IO to write the returned data to a file.
Juan T. Llibre, asp.net MVP
¿ Estas probando VS 2010 y ASP.NET 4.0 ?
Regístrate (gratis) en los Foros de VS 2010 y ASP.NET 4.0, en español
http://asp.net.do/foros/forums/
=====================================================
"Eric S" <NoSpam@xxxxxxxxxxx> wrote in message news:%23qwivK26JHA.4632@xxxxxxxxxxxxxxxxxxxxxxx
Hi All,
Is there a way to convert ms sql 2008 tables to XML files?
Say I have several tables related to each other and I want to create the
hierarchy of the data such as parent child within the XML Any hidden class somewhere
to perform the above?
These are small tables where I store the data of menu options and sub
options etc...
Thanks,
Eric
.
- Follow-Ups:
- References:
- Prev by Date: Re: Double "action" in form's View in ASP.NET MVC
- Next by Date: Re: "customErrors" in "web.config"
- Previous by thread: Is there a way to convert ms sql 2008 tables to XML files?
- Next by thread: Re: Is there a way to convert ms sql 2008 tables to XML files?
- Index(es):
Relevant Pages
|
Loading