Greeting!
How can I print items barcode sticker in datagrid view based on quantity
I used this code but it reprints all items with the quantity of each item
For i As Integer = 0 To DGVItem.Rows.Count - 1
PrintBarCode.PrintToPrinter(DGVItem.Rows(i).Cells(3).Value, False, 0, 0)
Next
I just want to print ten barcode stickers not 60 barcode stickers
-----Code---Item---Price---Quantity---Total
Row1----1---Item1---100--------2--------200
Row2----2---Item2---150--------4--------600
Row3----3---Item3---200--------5--------1000
Row4----4---Item4---250--------4--------1000
Thanks a lot
What I have tried:
For i As Integer = 0 To DGVItem.Rows.Count - 1
PrintBarCode.PrintToPrinter(DGVItem.Rows(i).Cells(3).Value, False, 0, 0)
Next