Im trying to convert an string"0" to an int, yet keeps giving me the error "Input string was not in a correct format."
int befpoints = Convert.ToInt32 (label7.Text);
int curpoints = befpoints + points;
label7.Text = Convert.ToStrin g(curpoints);
label6.Text = '+' + pt;
any ideas?
int befpoints = Convert.ToInt32 (label7.Text);
int curpoints = befpoints + points;
label7.Text = Convert.ToStrin g(curpoints);
label6.Text = '+' + pt;
any ideas?
Comment