I am creating a program that generates a barcode and then prints delivery labels.
I have a function that allows a user to load a spreadsheet into a datagrid view. One of the column names is "Tracking Number."
I would like to be able to scroll through each cell with a tracking number, and then generate a barcode in a new cell in a column called "barcode".
I understand that there is a loop function for this, but I have never used it before.
The code that generates the barcode is as follows: it calls two classes:
Image barc = Rendering.MakeBarcodeImage(txtTrack.Text, int.Parse(txtWidth.Text), true); pictBarcode.Image = barc;
Any help would be greatly appreciated. I will be happy to answer any other questions.
Mr bagder
source share