System.Web.UI.WebControls.ObjectDataSource.SelectCountMethod Property

Gets or sets the name of the method or function that the System.Web.UI.WebControls.ObjectDataSource control invokes to retrieve a row count.

Syntax

[System.ComponentModel.DefaultValue("")]
public string SelectCountMethod { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ObjectDataSource.SelectCountMethod property identifies a business object method that is used to retrieve a total row count, to support data source paging. The ObjectDataSource.SelectCountMethod property is evaluated only if the ObjectDataSource.EnablePaging property is set to true.

The ObjectDataSource.SelectCountMethod property delegates to the ObjectDataSourceView.SelectCountMethod property of the System.Web.UI.WebControls.ObjectDataSourceView object that is associated with the System.Web.UI.WebControls.ObjectDataSource control. For information about how paging is supported by the System.Web.UI.WebControls.ObjectDataSource control, see ObjectDataSource.EnablePaging.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0