Data Management Object Model Reference

ADODataSet.GetDataSet Method (String)

Returns a DataSet object. If a connection isn't allready open it will get opened. The DataSet is a disconnected fully updateable dataset. The caller(yes that's you) must call DataSet.Dispose() on the returned object and DataSource.Close() to clean up connections. Failure to cleanup will result in a hanging database connection thus reducing the number available in your connection pool.

[Visual Basic]
Overloads Public Function GetDataSet( _
   ByVal QueryString As String _
) As DataSet
[C#]
public DataSet GetDataSet(
   string QueryString
);

Parameters

QueryString

Return Value

See Also

ADODataSet Class | SPSSMR.Data.Transformations Namespace | ADODataSet.GetDataSet Overload List