ObjectDataSourceView.SelectCountMethod Свойство
Определение
Получает или задает имя метода или функции, вызываемых элементом управления ObjectDataSourceView для извлечения количества строк.Gets or sets the name of the method or function that the ObjectDataSourceView control invokes to retrieve a row count.
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
Значение свойства
Строка, представляющая имя метода или функции, используемых объектом ObjectDataSourceView для извлечения количества строк.A string that represents the name of the method or function that the ObjectDataSourceView uses to retrieve a row count. Значение по умолчанию — пустая строка ("").The default is an empty string ("").
Комментарии
SelectCountMethodОпределяет метод бизнес-объекта, используемый для получения общего числа строк для поддержки разбиения на страницы источника данных.The SelectCountMethod identifies a business object method that is used to retrieve a total row count to support data source paging. SelectCountMethodСвойство вычисляется, только если EnablePaging свойство имеет значение true
.The SelectCountMethod property is evaluated, only if the EnablePaging property is set to true
. Сведения о поддержке разбиения по страницам в см ObjectDataSourceView . в разделе EnablePaging .For information on how paging is supported by the ObjectDataSourceView, see EnablePaging.
Значение SelectCountMethod свойства хранится в состоянии представления.The value of the SelectCountMethod property is stored in view state.