Writing to Multiple SQL Server Tables with ASP
I am developing an ASP app. that has to write four new records to as many
tables. Currently, I am attempting to do this on one Active Server Page.
I've tried using the Command Object, the Connection Object, and the Recordset
Object. However, I keep getting an error something like: "Cannot insert
Primary Key in to table...." or simply: "Errors Occurred". Here's the clincher;
The data gets written to the database.????
I think the page is somehow trying load twice.
Can anyone help?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL