use*_*772 2 c# exception type-conversion
我收到错误:格式异常未处理,输入字符串格式不正确.
对于这一行:
int right = System.Convert.ToInt32(rightAngleTB.Text);
Run Code Online (Sandbox Code Playgroud)
rightAngleTB是TextBox,值Text是"25"(不带"").
我真的没有看到问题:(
| 归档时间: |
|
| 查看次数: |
13324 次 |
| 最近记录: |