December 6, 2010 at 2:14 am
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?
December 6, 2010 at 2:21 am
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, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 6, 2010 at 8:10 am
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.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy