Dynamicweb 8 Documentation
AddBooleanParam Method

The IDbCommand to add the parameter to
The name of the System.Data.IDataParameter.
The value of the parameter.
Adds boolean parameter to SQL statement.
Syntax
'Declaration
 
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> 
Public Shared Sub AddBooleanParam( _ 
   ByVal cmd As IDbCommand, _ 
   ByVal name As String, _ 
   ByVal value As Boolean _ 
) 
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] 
public static void AddBooleanParam( 
   IDbCommand cmd,
   string name,
   bool 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