ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Prevent Duplicate record insert in database if record exists in WPF Application using C# and VB.Net<p>Hi&nbsp;bigbear,</p> <p>You can not Insert same value again if you assigned Column as Unique key. Unique key constraints are used to ensure that data is not duplicated in two rows in the database. One row in the database is allowed to have null for the value of the unique key constraint.</p> <p>If you try to insert or update column with same value exist it will throw the error at insert or update time of Violation of UNIQUE KEY constraint.</p> <p>For checking record exist in database refer elow links.</p> <h1 class="header"><a class="title f16" href="https://www.aspforums.net/Threads/158103/Prevent-Duplicate-record-insert-in-database-if-record-exists-in-ASPNet/">Prevent Duplicate record insert in database if record exists in ASP.Net</a></h1> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/281189/Prevent-Duplicate-record-insert-in-database-if-record-exists-in-WPF-Application-using-C-and-VBNet/https://www.aspforums.net:443/Threads/281189/Prevent-Duplicate-record-insert-in-database-if-record-exists-in-WPF-Application-using-C-and-VBNet/Sun, 02 Dec 2018 23:28:15 GMT