How to change value within a gridview c#line

Asked

Viewed 160 times

0

Staff I am working on a PDV form and I am with the following doubt.

In my example it would be like modifying the quantity of the same product in a single line without having to repeat the product every time you add it in the cart.

Follow the image like this my gridviewinserir a descrição da imagem aqui

  • include your code

  • It would be good for you to add the code you use to "feed" the grid. In Windows Forms, editing data from a grid will always depend on the source.

1 answer

0

gridItens.DefaultCellStyle.Font = new Font("Tahoma", 12); gridItens.Autogeneratecolumns = false;

        txtEAN.Focus();
        ITENS = new BindingList<ItemVendaView>();

        gridItens.DataSource = ITENS;
        AtualizaTotais();       

Browser other questions tagged

You are not signed in. Login or sign up in order to post.