Dotnet-Project Framework documentation.

GenericDataHelper.ExecuteDataSetTransactional Method (CommandType, String)

Execute a Command (that returns a resultset and takes no parameters).

public static DataSet ExecuteDataSetTransactional(
   CommandType commandType,
   string commandText
);

Parameters

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

Example

DataSet ds = ExecuteDataset(CommandType.StoredProcedure, "GetOrders");

See Also

GenericDataHelper Class | DotnetProject.Data Namespace | GenericDataHelper.ExecuteDataSetTransactional Overload List