是Int32的无效值 [英] Is Not Valid Value For Int32

查看:179
本文介绍了是Int32的无效值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我收到错误消息,因为 Int32的无效值
在插入过程中.和这些控件都在formview中.谁能说出错误的原因

谢谢

[修改:取消选中忽略文本中的HTML",这样您的粗体标签就可以使用]

Hi every One,

I am getting error as Is Not Valid Value For Int32
during the insertion. and thers control are in formview. can any one tell the reason for the error

thanks

[Modified: unchecked "Ignore HTML in text" so your bold tags would work]

推荐答案

简单英语错误表示您要插入的值不是有效的整数值.
调试代码.在插入值之前放置一个断点.它可能不是有效的int32值,例如超出范围或其中包含某些字符串的值.
The error in simple English means that value you are inserting is not a valid integer value.
Debug the code. Put a break point before you insert the value. It may not be a valid int32 value as in out of range or value with some string in it.



此类问题的非常普遍的原因是,您正在尝试插入一个非整数值.您可以通过在行中插入一个断点,然后在quickwatch窗口中查看它来进行检查.
Hi,
Very common reason for this type of problem is that u are trying to insert a value which is not an integer value. U can check this by inserting a breakpoint in the line and then view it in quickwatch window.


这篇关于是Int32的无效值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆