Posts by Ricardo luiz • 1 point
2 posts
-
0
votes2
answers56
viewsA: Update quantity in a table with sql server and c#
//.. connection. Open(); foreach (DataGridViewRow dr in DataGridView_itens_vendas.Rows) { SqlCommand cmd = new SqlCommand(" update dbo.tb_produto set quantidade = quantidade - " +…
-
-1
votes2
answers56
viewsQ: Update quantity in a table with sql server and c#
I have a datagridview that is filled as soon as I choose the items that in the case are products that contain quantity in the product insert I choose a quantity and add the item to datagridview,…