“从类型转换”DBNULL“输入整数“。 [英] "Conversion from type "DBNULL" to type Integer".

查看:83
本文介绍了“从类型转换”DBNULL“输入整数“。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何解决这个从类型转换DBNULL到类型整数。

我无法根据此错误将数据插入数据库。

帮助我。

请给我最好的方法。

解决方案

你试图插入数据库的参数值为null所以它的抛出错误。调试代码并检查空值。


访问这里..





从dbnull类型转换为类型整数 [ ^

how to solve this "Conversion from type "DBNULL" to type Integer".
I cannot insert data to database according to this error.
Help me.
Please give me the best ways for me.

解决方案

the value of the parameter you are trying to insert to the database is null so its throwing the error. debug the code and check for null value.


visit here..


conversion from type dbnull to type integer[^]


这篇关于“从类型转换”DBNULL“输入整数“。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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