C
C#16mo ago
Gosia

✅ winforms error

Why is it not working? Someone knows what is wrong and how to fix it?
10 Replies
Angius
Angius16mo ago
textbox1.Text is not a valid integer
ero
ero16mo ago
ero
ero16mo ago
here you go that should fix it
Gosia
GosiaOP16mo ago
Yo bro, i know that the photos are not good but i have no Internet on the laptop XD What does IT exactly mean?
Angius
Angius16mo ago
7645324 is a valid integer, so is -72 and 0 ungabunga, , and 981.2 are not
Gosia
GosiaOP16mo ago
Ok so what will work, how can I change that?
Angius
Angius16mo ago
Well, you are trying to parse a string to an integer So the string has to be a valid integer representation Integers will work Not-integers will not work
Gosia
GosiaOP16mo ago
Oh ok, now I undarstand what i have done wrong, thanks
Denis
Denis16mo ago
If the issue is solved, consider closing this thread using /close
Accord
Accord16mo 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