用户未保留空引用异常 [英] Null reference exception unheld by user
本文介绍了用户未保留空引用异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
任何人都可以帮助我解决以下错误
Can anybody help me to resolve the bellow error
推荐答案
Rashmi,
Hi Rashmi,
您可以按如下所示修改代码:
You may be able to modify the code as follows:
return Covert.ToDecimal(this.InwardQuantity.GetValueOrDefault(0) * this.Invoice.GetValueOrDefault(0));
这篇关于用户未保留空引用异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文