Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving data to parent-child tables

Status
Not open for further replies.

mohaimen

Programmer
Dec 24, 2001
25
0
0
BD
Hi,

I am writing an ASP.NET application with SQL Server 2000 at the backend. In most of the cases data are entered in grids and saved in two tables - one record in a parent table and a number of records in the child table. Currently I am executing stroed procedures for saving individual records. It means if there are 20 records in a grid, stroed proc is run 21 times. Is there any better solution?

Regards.

Mohaimen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top