Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi, can i insert data into database by calling a stored procedure and a DataTable object , i mean that if i can send some values using SQLCOMMAND.PARAMETER.ADD(...) to the SP and the other some values using DataTable that were added to it after inserting a new row to the DataGridView control ?
Posted
Updated 27-Mar-10 13:19pm
v2

1 solution

You can pull values out of your datatable, or you can turn your table to XML and use OpenXML, but I don't believe you can pass a DataTable as a single parameter, no.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900