C
C#12mo 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
Austin967512mo ago
this is my code to allow users to add data and update data
SinFluxx
SinFluxx12mo ago
Is that first screenshot the code for displaying the page, where the duplication is occurring?
Austin9675
Austin967512mo ago
yes
SinFluxx
SinFluxx12mo ago
Why does it have an insert statement?
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Austin9675
Austin967512mo 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 User12mo ago
Message Not Public
Sign In & Join Server To View
Accord
Accord12mo 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.