Create and return a SqlCommand with the default Connection string

Namespace:  Devolutions.Utils
Assembly:  Devolutions.Utils (in Devolutions.Utils.dll)

Syntax

Visual Basic
Public Shared Function CreateSqlCommand ( _
	sql As String _
) As SqlCommand
C#
public static SqlCommand CreateSqlCommand(
	string sql
)

Parameters

sql
Type: System..::..String

Return Value

See Also