Dynamicweb 8 Documentation
AddDateTimeParam Method

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