Adding Parameters to Stored Procedures
Hello
I'm a bit of a beginer with VB.net and am having some bother adding parameters to a stored procedure I need to execute. I want to execute a stored procedure that in SQL I can do using
exec sp_spaceused Customer
Not sure how to do this in VB.net. To get the stored proc running I'm doing the following
cStored.CommandType = ADODB.CommandTypeEnum.adCmdStoredProc
cStored.CommandText = "sp_spaceused"
cStored.ActiveConnection = cConnection
recRS = cStored.Execute
Can someone please tell me how I add the Customer parameter.
Cheers
Steve