DGC.Data Programmer's Reference

IDal.GetProcedureDataSet Method (String, ArrayList, String)

Executes a stored procedure using the supplied parameters and populates a DataTable with the results set.

[Visual Basic]
Function GetProcedureDataSet( _
   ByVal storedProcedureName As String, _
   ByVal parameters As ArrayList, _
   ByVal tableName As String _
) As DataSet
[C#]
DataSet GetProcedureDataSet(
   string storedProcedureName,
   ArrayList parameters,
   string tableName
);

Parameters

storedProcedureName
The name of the stored procedure to execute.
parameters
An ArrayList containing DALParameter objects.
tableName
The name of the DataTable to populate.

Return Value

An untyped DataSet object.

Remarks

A DataTable is created within a DataSet object and then populated with the data.

See Also

IDal Interface | DGC.Data Namespace | IDal.GetProcedureDataSet Overload List