Sets the command type and text from the specified parameters.

Namespace:  Bespoke.Common.Data
Assembly:  Bespoke.Common (in Bespoke.Common.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public void SetCommandText(
	CommandType commandType,
	string commandText
)
Visual Basic (Declaration)
Public Sub SetCommandText ( _
	commandType As CommandType, _
	commandText As String _
)
Visual C++
public:
void SetCommandText(
	CommandType commandType, 
	String^ commandText
)

Parameters

commandType
Type: System.Data..::.CommandType
The command type.
commandText
Type: System..::.String
The command text.

See Also