ObjectDataSourceView.SelectCountMethod 속성

정의

ObjectDataSourceView 컨트롤이 행 수를 검색할 때 호출하는 메서드나 함수의 이름을 가져오거나 설정합니다.

public:
 property System::String ^ SelectCountMethod { System::String ^ get(); void set(System::String ^ value); };
public string SelectCountMethod { get; set; }
member this.SelectCountMethod : string with get, set
Public Property SelectCountMethod As String

속성 값

String

ObjectDataSourceView가 행 수를 검색할 때 사용하는 메서드나 함수의 이름을 나타내는 문자열입니다. 기본값은 빈 문자열("")입니다.

설명

SelectCountMethod 데이터 소스 페이징을 지원 하기 위해 총 행 수를 검색 하는 데 사용 되는 비즈니스 개체 메서드를 식별 합니다. SelectCountMethod 경우에 속성은 평가 EnablePaging 속성이 true합니다. 페이징을 지 원하는 방법에 대 한 정보에 대 한 합니다 ObjectDataSourceView를 참조 하세요 EnablePaging합니다.

값을 SelectCountMethod 속성은 뷰 상태에 저장 됩니다.

적용 대상

추가 정보