Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass numeric to COMDLL
Message
From
25/02/2004 09:45:13
 
 
To
24/02/2004 11:02:55
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00880251
Message ID:
00880688
Views:
16
Hi,
No, it is the same
VFP
Method: GetBalance()
LPARAMETERS custnumber AS Integer
RETURN THIS.macurbalances[custnumber]


.NET
[WebMethod]
public decimal RetrieveBalance(int custNumber)
{
	NETMyCustomer.mycustomer b = new NETMyCustomer.mycustomerClass();
	return b.getbalance(custNumber);
}
Error: Cannot implicitly convert type 'object' to 'decimal'
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform