Mediachase FileUploader.NET 1.9 Framework Help

SqlHelper.ExecuteNonQuery Method (SqlContext, CommandType, String)

Execute a SqlCommand (that returns no resultset and takes no parameters) against the database specified in the connection string.

[Visual Basic]
Overloads Public Shared Function ExecuteNonQuery( _
   ByVal context As SqlContext, _
   ByVal commandType As CommandType, _
   ByVal commandText As String _
) As Integer
[C#]
public static int ExecuteNonQuery(
   SqlContext context,
   CommandType commandType,
   string commandText
);

Parameters

context
The current context.
commandType
the CommandType (stored procedure, text, etc.)
commandText
the stored procedure name or T-SQL command

Return Value

an int representing the number of rows affected by the command

See Also

SqlHelper Class | Mediachase.FileUploader Namespace | SqlHelper.ExecuteNonQuery Overload List