protected void btnActive_Click(object sender, EventArgs e) { int idClient = Convert.ToInt32(((Button)sender).CommandArgument); DaoClient daoClient = new DaoClient(); daoClient.ChangeStatutClient(idClient); this.lsvClient.DataSource = daoClient.GetClients(); this.lsvClient.DataBind(); }