Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to return value from VFP SP to ASP.NET?
Message
De
02/07/2004 04:31:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
00918798
Message ID:
00920020
Vues:
17
Hi,

>>Do you mind sharing how you return a variable from VFP SP to .NET?

VFP:
PROCEDURE SayHello() as String
RETURN "Hello"
ENDPROC
.NET:
' Assume connection created
Dim oCmd AS New OleDB.OleDBCommand
Dim cReturn as String=""
With oCmd
  .Connection = oConn
  .CommandType = CommandType.StoredProcedure
  .CommandText = "SayHello"
  cReturn = .ExecuteScalar()
End With
'etc
HTH,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform