Пример #1
0
    private void RemCat(object sender, EventArgs e)
    {
        btn_modifier.Enabled = true;
        LinkButton btn   = (LinkButton)sender;
        int        idCat = int.Parse(btn.ID.Split('-')[1]);

        BD_CoEco.ChangeStatusCategorie(idCat, 2);
        loadCat();
    }