{ int valor7, valor8; valor7 = Convert.ToInt32(txtMoeda7.Text); valor8 = Convert.ToInt32(txtMoeda8.Text); resultado1 = valor7 + valor8 lblResultado1.Text = resultado1.ToString(); }
What’s the matter?
– novic
I tried this code but nothing appears on the label and when I click on the label the program hangs, I would be grateful if some experienced programmer can help me.
– Marcio Valerio
Hard to play local error post error too
– novic
You need to treat txtMoeda7.Text and txtMoeda8.Text. To not pass null values .. if(String.Isnullorempty(txtMoeda7.Text)){ valor7= 0}
– Danielle Arruda torres
Thanks Danielle Arruda Torres, your code tip solved my problem.
– Marcio Valerio