Mediachase FileUploader.NET 1.9 Framework Help

SqlHelper.ExecuteReader Method (SqlContext, CommandType, String)

Create and prepare a SqlCommand, and call ExecuteReader with the appropriate CommandBehavior.

[Visual Basic]
Overloads Public Shared Function ExecuteReader( _
   ByVal context As SqlContext, _
   ByVal commandType As CommandType, _
   ByVal commandText As String _
) As SqlDataReader
[C#]
public static SqlDataReader ExecuteReader(
   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

SqlDataReader containing the results of the command

See Also

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