C
C#12mo ago
Gosia

✅ winforms error

Why is it not working? Someone knows what is wrong and how to fix it?
10 Replies
Angius
Angius12mo ago
textbox1.Text is not a valid integer
ero
ero12mo ago
ero
ero12mo ago
here you go that should fix it
Gosia
Gosia12mo 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
Angius12mo ago
7645324 is a valid integer, so is -72 and 0 ungabunga, , and 981.2 are not
Gosia
Gosia12mo ago
Ok so what will work, how can I change that?
Angius
Angius12mo 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
Gosia12mo ago
Oh ok, now I undarstand what i have done wrong, thanks
Denis
Denis12mo ago
If the issue is solved, consider closing this thread using /close
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.
Want results from more Discord servers?
Add your server
More Posts
❔ How to serialize certain null values with System.Text.JsonIn System.Text.Json, if I have something like ```cs record Item(string Text, int? Number); List<Ite✅ System.NullReferenceExceptionI need some help. I keep getting this error and I'm not sure why. I'm very new to c#. Thank you for ❔ Looking for a tutor.Hello, im a 23 years old Czech guy that moved to Denmark. I have been around software hardware since❔ ConfigureTestServices not overriding connection string value :(Hi! I'm so lost as to why this isn't working. Currently the RemoveDbContext removes the service as❔ Unhandled exception. System.IO.FileNotFoundException: Could not load file or assemblyFull error: ```js Unhandled exception. System.IO.FileNotFoundException: Could not load file or assem✅ Blob trigger and save blob information in databaseHi all, first time to ask here. How would you approach to this problem, I have endpoint in aspnet c✅ Moving items across the screenI've built a basic 4 math functions calculator, and I want to spice it up a bit. When user presses ❔ Need Help Making ButtonSo far, I've been trying to make a Sign in/Sign up screen that you can log in and register to. My goSystem.InvalidOperationException: ... cannot be serialized because it does not have a parameterles..I'm trying to make an AOT class library, but I am unable to run it once compiled. Here's the bit of❔ StringSyntax attribute not availableYesterday I updated VS to the latest version and installed .NET SDK 7 but whenever I try to use `[St