Executes a stored procedure using the supplied parameters and populates the supplied typed DataTable with the results set.
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.
The following example executes a stored procedure and populates a typed DataTable.
[Visual Basic]
Dim d As DGC.Data.IDAL
Dim myDataSet As New myTypedDataSet
Dim params as New ArrayList
d = DGC.Data.DALFactory.GetDAL(connectionString, databaseType)
params.Add(d.CreateParameter("@pId", ParameterTypes.DalInteger, ParameterDirections.DalInput, idToMatch)
d.GetProcedureDataSet("dbo.usp_getRelatedRecords", params, myDataSet, "myDataTable")
IDal Interface | DGC.Data Namespace | IDal.GetProcedureDataSet Overload List