.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

how to insert multiple records at once

Posted By: Ramesh     Posted Date: May 27, 2009    Points:2   Category :ASP.Net
Hi,
How to insert multiple records at once in single connection. I need to insert multiple rows in child table based on master record id in asp.net and sql server 2005.

Thanks
Ramesh

Responses
Author: Praveen             
Posted Date: May 28, 2009     Points: 5   

Hi,
You can use XML string and parse the XML string in your stored procedure to insert child records. if you are looking to parse XML string at stored procedure level than refer this article

http://weblogs.sqlteam.com/mladenp/archive/2007/05/22/60213.aspx.

Happy Coding!!!
Preveen



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend