Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
Unable to cast object of type 'AutopostToBanks.NIP.TransactionStatusSingle' to type 'System.IConvertible'.




C#
ResponseCode = Convert.ToInt32(verifyNip.txnstatusquerysingleitem(trxs));


What I have tried:

i have tried to convert to string but it still do not work.
Posted
Updated 29-Jun-16 21:50pm
Comments
[no name] 30-Jun-16 3:47am    
What is "AutopostToBanks.NIP.TransactionStatusSingle" ? How about a simple ToString method.

1 solution

Try this one

ResponseCode = Convert.ToInt32(verifyNip.txnstatusquerysingleitem(trxs).tostring());
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900