DGC.Data Programmer's Reference

IDal.GetProcedureDataSet Method (String, DataSet, String)

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

[Visual Basic]
Sub GetProcedureDataSet( _
   ByVal storedProcedureName As String, _
   ByVal typedDataset As DataSet, _
   ByVal tableName As String _
)
[C#]
void GetProcedureDataSet(
   string storedProcedureName,
   DataSet typedDataset,
   string tableName
);

Parameters

storedProcedureName
The name of the stored procedure to execute.
typedDataset
A typed DataSet object.
tableName
The name of the typed DataTable to populate.

Remarks

Unlike the other versions of this method a typed DataSet containing at least one typed DataTable must be supplied to be populated with the data.

See Also

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