Wrox Programmer Forums
BOOK: Beginning ASP.NET 2.0 and Databases
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 and Databases by John Kauffman, Bradley Millington; ISBN: 9780471781349
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 and Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 5th, 2008, 02:53 PM
Registered User
Join Date: Nov 2008
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default Duplicate Record insersion

Duplicate Record insersion when application get stucked asp.net -sql - AJAX

Hi everyone,
 i'm developing a web based inventory control system using asp.net 2005 and sql server 2005 .i also have used AJAX here. when running that web application (IIS) on server 2003 core 2 duo system some time application getting stucked .i have noticed on that time application has inserted duplicated records in to data base. any one who got success from that matter please help me.

Old November 5th, 2008, 04:38 PM
Friend of Wrox
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts

Create an index on one or more of the fields that should not be duplicated and make the index "unique".

Now you will get an error if you try to create a duplicate.

In other words, solve this in the database, not in your .NET coding.
The Following User Says Thank You to Old Pedant For This Useful Post:
nishanthahe (August 31st, 2009)

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop duplicate record msbsam SQL Server 2000 1 March 10th, 2008 11:24 AM
Display Record Frm 2Diff Tables&Without Duplicate future Classic ASP Databases 3 November 12th, 2006 12:16 PM
Subform allows end-user to make duplicate record pkaptein1 Access 7 May 25th, 2005 11:34 AM
Record locking - user needs the next queued record cbtoolkit SQL Server 2000 0 December 6th, 2004 08:29 AM
Checking for duplicate record in jsp Regornil JSP Basics 0 July 30th, 2004 01:55 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.