This documentation is archived and is not being maintained.

PagedDataSource.FirstIndexInPage Property

Gets the first index in the page.

[Visual Basic]
Public ReadOnly Property FirstIndexInPage As Integer
[C#]
public int FirstIndexInPage {get;}
[C++]
public: __property int get_FirstIndexInPage();
[JScript]
public function get FirstIndexInPage() : int;

Property Value

The first index in the page.

Remarks

Use the FirstIndexInPage property to determine the index of the first item on the current page.

Note   If the IsPagingEnabled property is set to false or the IsCustomPagingEnabled property is set to true or the DataSource property contains a null reference (Nothing in Visual Basic), 0 is returned.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

PagedDataSource Class | PagedDataSource Members | System.Web.UI.WebControls Namespace | IsPagingEnabled | IsCustomPagingEnabled | DataSource

Show: