you could do something like the following assuming that you are doing this in asp.net
protected void ListView1_PagePropertiesChanging(object sender,PagePropertiesChangingEventArgs e)
{
int currPage = (e.StartRowIndex / e.MaximumRows)+1;
Response.Write(currPage.ToString());
}