如何修复此错误消息 [英] How to fix this error message
本文介绍了如何修复此错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Unable to cast object of type 'AutopostToBanks.NIP.TransactionStatusSingle' to type 'System.IConvertible'.
ResponseCode = Convert.ToInt32(verifyNip.txnstatusquerysingleitem(trxs));
我尝试过:
i试图转换为字符串,但它仍然无效。
What I have tried:
i have tried to convert to string but it still do not work.
推荐答案
试试这个
ResponseCode = Convert.ToInt32(verifyNip.txnstatusquerysingleitem(trxs).tostring());
Try this one
ResponseCode = Convert.ToInt32(verifyNip.txnstatusquerysingleitem(trxs).tostring());
这篇关于如何修复此错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文