dotnetCHARTING Send comments on this topic.
AddParameter Method
See Also 
dotnetCHARTING Namespace > DataEngine Class : AddParameter Method


paramName
String specifying the parameter name.
paramValue
String pecifying the parameter value.
paramType
A FieldType enumeration specifying the parameter type.
Adds a stored procedure when to use in conjunction with StoredProcedure.

Syntax

Visual Basic (Declaration) 
Public Sub AddParameter( _
   ByVal paramName As String, _
   ByVal paramValue As String, _
   ByVal paramType As FieldType _
) 
Visual Basic (Usage)Copy Code
Dim instance As DataEngine
Dim paramName As String
Dim paramValue As String
Dim paramType As FieldType
 
instance.AddParameter(paramName, paramValue, paramType)
C# 
public void AddParameter( 
   string paramName,
   string paramValue,
   FieldType 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)

See Also

© 2016 All Rights Reserved.