Dotnet-Project Framework documentation.

GenericDataHelper.ExecuteDataset Method (String)

Execute a stored procedure via a Command (that returns a resultset and takes no parameters) against the database.

public static DataSet ExecuteDataset(
   string spName
);

Parameters

spName
The stored procedure name

Return Value

A dataset containing the resultset generated by the command

Example

DataSet ds = ExecuteDataset("GetOrders");

See Also

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