C
C#17mo ago
Austin9675

❔ Duplicating data

I have a SQL database in my windows forms app that allows users to see their username and kills for a game called The Isle, but every time i click on the button to look at the page that the database is on it duplicates data, how can i stop it from doing this?
8 Replies
Austin9675
Austin9675OP17mo ago
this is my code to allow users to add data and update data
SinFluxx
SinFluxx17mo ago
Is that first screenshot the code for displaying the page, where the duplication is occurring?
Austin9675
Austin9675OP17mo ago
yes
SinFluxx
SinFluxx17mo ago
Why does it have an insert statement?
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Austin9675
Austin9675OP17mo ago
i did not realize that, this page was created before i added the buttons so i never really went back to change it but it works fine now so thank u
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server