Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdoOperations.DataSetFill(DataSet, CommandType, String) Method

Fill a DataSet based on a select command that requires no parameters.

[Visual Basic]
Public Sub DataSetFill( _
   ByVal dataSet As DataSet, _
   ByVal commandType As CommandType, _
   ByVal sql As String _
)
[C#]
int DataSetFill(
   DataSet dataSet,
   CommandType commandType,
   string sql
);

Parameters

dataSet
The DataSet to populate
commandType
The type of command
sql
SQL query to execute

Return Value

The number of rows successfully added to or refreshed in the DataSet

See Also

IAdoOperations Interface | Spring.Data Namespace | IAdoOperations.DataSetFill Overload List