The serial numbers should be correct in the consecutive pages.
Container.DataItemIndex
Container.ItemIndex
<ItemTemplate> <%#: Container.DataItemIndex + 1 %> ...
ViewState
public int FirstRecordIndex { get { return (int?)ViewState["FirstRecordIndex"] ?? 0; } set { ViewState["FirstRecordIndex"] = value; } }
<ItemTemplate> <%# FirstRecordIndex + Container.DataItemIndex + 1 %> ...
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)