Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending a DataRow to Update Stored Procedure
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01445383
Message ID:
01445547
Vues:
26
>>Hi, Dmitry, in SQL 2008 you can now pass an ADO.NET datatable to a stored proc.
>>
>>I don't know about a datarow (haven't tried it)...but worst case is you'd need to create a 1-row datatable.
>
>Kevin,
>
>Just curious - How would you compare this to passing XML to a stored proc? If you wanted to update a table in 2005 with say 100 changed rows, why not convert the rows to XML & pass it to a SQL stored proc?

Kevin,

Have you ever done it, I mean passing an XML to a stored procedure and updating table from the XML?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform