Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass numeric to COMDLL
Message
De
25/02/2004 09:45:13
 
 
À
24/02/2004 11:02:55
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00880251
Message ID:
00880688
Vues:
17
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...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform