very very thanks for your replies. now i set id to auto increment. but the problem is each record getting two times in database.(ex: id = 2 name =abc and id = 3 name = abc) when i am posting and i am clicking onces on the submit button . actual this is the problem from database can you please help me in these issue
Thanks in advance...
User Profile
Collapse
-
Database PRIMARY KEY
hi,
i am new to programming and database. please help
when ever i am submitting the i am getting the ERROR "Violation of PRIMARY KEY constraint 'PK_property'. Cannot insert duplicate key in object 'dbo.property'. The statement has been terminated."
every time when i insert new data. and if i am removing primery key records entering two in database. whats the problem?
you can check the...
No activity results to display
Show More
Leave a comment: