Dynamicweb 8 Documentation
AddStringParam Method

The IDbCommand to add the parameter to
The name of the System.Data.IDataParameter.
The value of the parameter.
Adds string parameter to SQL statement.
Syntax
'Declaration
 
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> 
Public Shared Sub AddStringParam( _ 
   ByVal cmd As IDbCommand, _ 
   ByVal name As String, _ 
   ByVal value As String _ 
) 
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] 
public static void AddStringParam( 
   IDbCommand cmd,
   string name,
   string value 
)

Parameters

cmd
The IDbCommand to add the parameter to
name
The name of the System.Data.IDataParameter.
value
The value of the parameter.
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

Reference

Database Class
Database Members

Send Feedback