コード例 #1
0
        private void btnActivar_Click_1(object sender, EventArgs e)
        {
            if (lstInactivos.Items.Count > 0)
            {
                var activado = productoBLL.ActivarProducto(lstInactivos.SelectedValue.ToString());

                if (activado)
                {
                    CargarProductos();
                }
            }
        }