Mediachase FileUploader.NET 1.9 Framework Help

SqlHelper.ExecuteDataset Method (SqlContext, CommandType, String)

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

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

a dataset containing the resultset generated by the command

See Also

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