locked
Visual Studio and MySql insert sometine inserts 2 rows RRS feed

  • Question

  • User-1491765983 posted

    I have a basic asp page which inserts a record into a MySql Db table.  On occassion, it inserts two rows?  I can't seem to find a patter or reason?  ANy ideas?

    Tuesday, February 28, 2012 12:40 PM

Answers

  • User-2010311731 posted

    This could happen if the user gets impatient and clicks a button again before the first update is complete.

     

    Matt

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 28, 2012 12:53 PM
  • User-495744177 posted

    Can you put the code... So that i can see whats wrong

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 28, 2012 12:54 PM
  • User-1491765983 posted

    Matt, Thanks for your help.  That was it.  Such a simple thing and I completely overlooked it.  It's fixed now Kiss

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 28, 2012 4:08 PM

All replies

  • User-2010311731 posted

    This could happen if the user gets impatient and clicks a button again before the first update is complete.

     

    Matt

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 28, 2012 12:53 PM
  • User-495744177 posted

    Can you put the code... So that i can see whats wrong

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 28, 2012 12:54 PM
  • User-1491765983 posted

    Matt, Thanks for your help.  That was it.  Such a simple thing and I completely overlooked it.  It's fixed now Kiss

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 28, 2012 4:08 PM