protected void lsvClient_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
        {
            this.dtpClients.SetPageProperties(e.StartRowIndex, e.MaximumRows, false);

            DaoClient daoClient = new DaoClient();

            this.lsvClient.DataSource = daoClient.GetClients();
            this.lsvClient.DataBind();
        }
        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();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            daoClient = new DaoClient();

            if (!IsPostBack)
            {
                this.gdvClient.DataSource = daoClient.GetClients();
                this.gdvClient.DataBind();
            }
        }