Quote:System.Exception: input string was not in correct format.
at Registration.Form1.Button1_Click(Object sender, EventArgs e)
Why don't you read that message?
Somewhere in the method body of Button1_Click, you try to get a numeric value from some other type of data, likely a string. And that conversion fails.
Why can it fail? Because of non-numeric characters somewhere in the string.
If it works on a different computer with the same value, then because of commas (,) or dots (.) at positions where they should not be according to the selected locale.