且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

字符串转换为整数无效

更新时间:2023-01-16 18:15:24


找出并消除该错误的***解决方案是观察inpHide.Value,尝试调试您的应用程序.

欢呼声
Hi,
The best solution to find out and get rid of that error is to watch inpHide.Value, try to debug your application.

Cheers


使用类似的方法 [
Use methods like[^] Integer.TryParse. These ensure that a value is converted to an integer only if it is an integer type.