public void BindAdmin() { DataTable dt = admin.SelectAdmin(Level.Value, Name.Value); lvAdminList.DataKeyNames = new[] { "id" }; lvAdminList.DataSource = dt; lvAdminList.DataBind(); //lvAdminList.DataKeyNames = new[] { "id" }; //lvAdminList.DataSource = admin.SelectAdmin(Level.Value, Name.Value); //lvAdminList.DataBind(); }