protected void Page_Load(object sender, EventArgs e) { AspNetPager1.PageSize = 5; if (!IsPostBack) { string name = Request.QueryString["_name"]; BLLadmin blladmin = new BLLadmin(); int result = blladmin.s_admin(name); AspNetPager1.RecordCount = result; binddata(); } }