locked
Duplicate Insert in VB.NET RRS feed

  • Question

  • User-1578974752 posted

    Once the Insert button is clicked the values are inserting in to sql table.How to avoid duplicate insertion when user click 2 times on Insert Button.

    Wednesday, September 19, 2018 8:18 AM

Answers

  • User-1716253493 posted
    • redirect another page
    • insert confirmation
    • check db before insert
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 19, 2018 8:33 AM
  • User2053451246 posted

    Once the Insert button is clicked the values are inserting in to sql table.How to avoid duplicate insertion when user click 2 times on Insert Button.

    Use the BlockUI plugin.

    http://malsup.com/jquery/block/#overview

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 19, 2018 3:47 PM

All replies

  • User-1716253493 posted
    • redirect another page
    • insert confirmation
    • check db before insert
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 19, 2018 8:33 AM
  • User1120430333 posted

    Send a user friendly message that the record has been inserted and redirect away from the record insert page.

    Wednesday, September 19, 2018 3:21 PM
  • User2053451246 posted

    Once the Insert button is clicked the values are inserting in to sql table.How to avoid duplicate insertion when user click 2 times on Insert Button.

    Use the BlockUI plugin.

    http://malsup.com/jquery/block/#overview

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 19, 2018 3:47 PM