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_khachhang_page(true,pageIndex, pageSize, ref rowCount, ref errMsg); PreparePaging(pageIndex, pageSize, rowCount); Repeater1.DataBind(); } catch (Exception ex) { Response.Write(ex.Message); } finally { vcontroller = null; } }