Dynamicweb 8 Documentation
SqlBool(Boolean) Method

true or false.
Returns a Boolean in the appropriate database format.
Syntax
'Declaration
 
Public Overloads Shared Function SqlBool( _ 
   ByVal Value As Boolean _ 
) As String
public static string SqlBool( 
   bool Value 
)

Parameters

Value
true or false.

Return Value

True or False as strings for Access solutions, or 0 or 1 for SQL solutions
Remarks
The returned value is based on the database type set up for the particular solution. Used only for building sql strings, not for DataRows.
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
Overload List

Send Feedback