AddParameter(String,String,FieldType) Method
Adds a stored procedure when to use in conjunction with StoredProcedure.
Syntax
'Declaration Public Sub AddParameter( _ ByVal paramName As String, _ ByVal paramValue As String, _ ByVal paramType As FieldType _ )
'Usage Dim instance As DataEngine Dim paramName As String Dim paramValue As String Dim paramType As FieldType instance.AddParameter(paramName, paramValue, paramType)
Parameters
- paramName
- String specifying the parameter name.
- paramValue
- String pecifying the parameter value.
- paramType
- A FieldType enumeration specifying the parameter type.
Remarks
This method is optionally used in conjunction with the StoredProcedure property to specify any number of parameters for the stored proc. A number of field types are supported.
de.AddParameter("MyParameter","MyValue",FieldType.Text)
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also