Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to send back data to SQL Server
Message
From
02/12/2003 08:57:37
 
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
00854927
Message ID:
00854977
Views:
20
You can convert the DataTable's contents to XML, send the XML to the stored procedure in a Text or nText parameter, and parse the XML using OPENXML() in your stored procedure.

-Mike

>To All,
>
>I have a DataTable (in a DataSet) that I need to send to a stored procedure in SQL Server 2000 and wondered how to do that. I can't send it back row by row because the entire set of data needs to be parsed to actually perform the update to the related tables. How can I send the whole set of data? To create parameters would be enormous and seemingly inefficient. Any ideas??
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform