Retrieves data from the underlying database using the SqlDataSourceView.SelectCommand SQL string and any parameters that are in the SqlDataSourceView.SelectParameters collection.
- arguments
- A System.Web.UI.DataSourceSelectArguments used to request operations on the data beyond basic data retrieval.
An IEnumerable list of data rows.
The SqlDataSourceView.Select(System.Web.UI.DataSourceSelectArguments) method calls the SqlDataSourceView.ExecuteSelect(System.Web.UI.DataSourceSelectArguments) method, passing the selectArgs parameter.
The SqlDataSourceView.ExecuteSelect(System.Web.UI.DataSourceSelectArguments) method returns a System.Data.DataView object, if the SqlDataSource.DataSourceMode property is set to the SqlDataSourceMode.DataSet value or it returns a System.Data.IDataReader object, if the SqlDataSource.DataSourceMode property is set to the SqlDataSourceMode.DataReader value. Close the System.Data.IDataReader object when you have finished reading the data.