ObjectDataSourceView.Select(DataSourceSelectArguments) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通过调用由属性标识的方法并传递集合中的任何TypeName值,从属性标识SelectMethodSelectParameters的对象中检索数据。
public:
System::Collections::IEnumerable ^ Select(System::Web::UI::DataSourceSelectArguments ^ arguments);
public System.Collections.IEnumerable Select(System.Web.UI.DataSourceSelectArguments arguments);
override this.Select : System.Web.UI.DataSourceSelectArguments -> System.Collections.IEnumerable
Public Function Select (arguments As DataSourceSelectArguments) As IEnumerable
参数
- arguments
- DataSourceSelectArguments
DataSourceSelectArguments用于在基本数据检索之外请求对数据执行的操作。
返回
IEnumerable数据行的列表。 有关详细信息,请参阅 SelectMethod。
例外
arguments传递给该方法时,传递给Select(DataSourceSelectArguments)该方法指定数据源在检索数据时应执行一些附加工作,以启用分页或对检索的数据进行排序,但数据源控件不支持请求的功能。
注解
该方法 Select 调用 ExecuteSelect 传递 arguments 参数。