Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to retrieve XML into variable.
Message
De
29/09/2003 13:10:25
 
 
À
29/09/2003 12:12:09
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00832993
Message ID:
00833215
Vues:
26
Use Command.ExecuteXMLReader() to retrieve the XML. You'll probably have to use a combination of XmlTextWrite, StringWriter, and StringBuilder to get the XML into a string.

-Mike

>Can you recommend code that I could use from C# in ASP.Net?
>
>For example how do I call a SPROC that returns XML to a C# variable.
>
>ie..
>
>var = Command.ExecuteNonQuery().
>
>Such that var ends up with XML from the sproc that uses the FOR XML....
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform