C
C#13mo ago
BrytanX

❔ Could u help me plz

I´m learning coding with a youtube course, and i´m trying to do a crud, but this error with the form components just pop up and Idk why, because It was working before I made the mysql connection.
No description
15 Replies
altyn
altyn13mo ago
it's in mexian pls translate you probably dont have label1_Click anywhere defined if so, delete that line
Iceman228
Iceman22813mo ago
It is not an error, it is a warning. Also please post the message in English when asking for help in an English discord. Looks like a null warning though
Omnissiah
Omnissiah13mo ago
nullability issue are event parameters nullable?
Iceman228
Iceman22813mo ago
And to be honest, telling someone to just delete a line is bad advice, and if it weren't defined, it would be an actual error.
BrytanX
BrytanXOP13mo ago
I´m installing the english package
altyn
altyn13mo ago
if he deleted the event handler it will throw this error, he has 1 error my guess is this is that error
BrytanX
BrytanXOP13mo ago
By default, it just created when I created the components
BrytanX
BrytanXOP13mo ago
Here in english
No description
BrytanX
BrytanXOP13mo ago
done
altyn
altyn13mo ago
this is just warning if you want it to go away you can either make it nullable or give it a default value (string.Empty) you can either do
public string? Foo {get;set;}
public string? Foo {get;set;}
or
public string Foo {get;set;} = string.Empty;
public string Foo {get;set;} = string.Empty;
BrytanX
BrytanXOP13mo ago
Are warnigns but my code doesn´t execute
No description
SG97
SG9713mo ago
there's one error
SG97
SG9713mo ago
No description
BrytanX
BrytanXOP13mo ago
Thanks guys I already solve it
Accord
Accord13mo 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