DGC.Data Programmer's Reference

IDal.GetSQLDataSet Method (String, ArrayList, String)

Executes a SQL statement using the supplied parameters and populates a DataTable with the results set.

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

Parameters

sql
The SQL statement to execute.
parameters
An ArrayList containing DALParameter objects.
tableName
The name of the typed 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.GetSQLDataSet Overload List