private void FillData(int pageIndex) { int pageSize = ucDataNavigator.PageSize; int rowCount = 0; Admins vcontroller = new Admins(); string errMsg = string.Empty; try { Repeater1.DataSource = vcontroller.getall_Size_page(pageIndex, pageSize, ref rowCount, ref errMsg); PreparePaging(pageIndex, pageSize, rowCount); Repeater1.DataBind(); } catch (Exception ex) { Response.Write(ex.Message); } finally { vcontroller = null; } }