Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return value from vfp stored procedures
Message
 
À
22/11/2002 17:19:17
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brésil
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00726053
Message ID:
00726057
Vues:
17
This message has been marked as the solution to the initial question of the thread.
Hi Eugenio,

Here is some sample code to call a VFP Stored Procedure.
using System;
using System.Data;
using System.Data.OleDb;
OleDbConnection oConn = new OleDbConnection(cConnString);
try
  { oConn.Open(); }
catch(Exception oErr)
  { System.Windows.Forms.MessageBox.Show("\n" + oErr.Message + "\n"); }
System.Data.OleDb.OleDbCommand oCmd = new OleDbCommand("PutResult('MyParm1','MyParm2')",oConn);
string cRetVal = oCmd.ExecuteScalar().ToString();
>Is it possible to get the return value from a vfp stored procedure using the VFP OleDb Provider? How can I accomplish this?
>
>Thanks in advance.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform