Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 - General
»
Duplicate data inserted while click refreh in...
Duplicate data inserted while click refreh in asp.net
Rate Topic
Display Mode
Topic Options
Author
Message
kuppurajm
kuppurajm
Posted Monday, December 06, 2010 2:14 AM
SSC Rookie
Group: General Forum Members
Last Login: Monday, July 09, 2012 1:43 AM
Points: 49,
Visits: 198
hi all,Eventhough duplication protected through
while I am clicking refresh in IE it ask "you want to resubmit the data"
if I clik yes then it will insert the same data as it is in controls.
how can I solve this problem( but due to primary key it does not allow duplicate records.but I want to solve this from .net itself)
If i am redirect the page to same page after inset it will work correcltly other than this is there any solution?
Post #1030491
GilaMonster
GilaMonster
Posted Monday, December 06, 2010 2:21 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 4:08 PM
Points: 38,099,
Visits: 30,392
You might get better answers if you ask this in an asp.net forum. Maybe one of the microsoft forums? (
http://social.msdn.microsoft.com/Forums/en-US/category/netdevelopment
)
Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild
: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass
Post #1030494
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Monday, December 06, 2010 8:10 AM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 5:09 AM
Points: 31,526,
Visits: 13,864
I agree with Gail, please submit this elsewhere. This is an ASP.NET issue, not a SQL Server issue. On SQL Server, you have protection if you have a PK that prevents duplicate inserts.
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #1030644
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.