Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass a web variable to a stored procedure
Message
 
 
To
24/10/2008 16:54:07
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
01257541
Message ID:
01357084
Views:
25
>clip . . .
>
>
>Hi Viv
>You once showed me how to execute a stored procedure from ASP. Can you show me how to do it from VB NET? I have
>
>Dim oConnVFP As New Data.OleDb.OleDbConnection(ConfigurationManager.ConnectionStrings("VFPLibrary").ConnectionString)
>Dim objCommandCSV As New System.Data.OleDb.OleDbCommand("do createCSV", oConnVFP)
>
>objCommandCSV.CommandType = Data.CommandType.StoredProcedure
>
>oConnVFP.Open()
>objCommandCSV.ExecuteNonQuery()
>oConnVFP.Close()
>
>But this doesn't work. Thanks

Just use the name of your SP instead of DO mySp and it should work. At least this is how it works for SQL Server.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform