System.Web.UI.WebControls.ObjectDataSourceView.SelectCountMethod Property

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

Syntax

public string SelectCountMethod { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ObjectDataSourceView.SelectCountMethod identifies a business object method that is used to retrieve a total row count to support data source paging. The ObjectDataSourceView.SelectCountMethod property is evaluated, only if the ObjectDataSourceView.EnablePaging property is set to true. For information on how paging is supported by the System.Web.UI.WebControls.ObjectDataSourceView, see ObjectDataSourceView.EnablePaging.

The value of the ObjectDataSourceView.SelectCountMethod property is stored in view state.

Requirements

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