protected void Page_Load(object sender, EventArgs e) { AspNetPager1.PageSize = 4; if (!IsPostBack) { BLLadmin blladmin = new BLLadmin(); int result = blladmin.admin(); AspNetPager1.RecordCount = result; binddata(); } }