title: Looping through DataGridView Cells
body: <p>I am creating a program that generates a bar code and then prints the shipping labels.</p>
  
  <p>I have a function that allows the user to upload a spreadsheet into the datagrid view. One of the column names is "Tracking Number".</p>
  
  <p>I would like to be able to loop through each cell that has a tracking number and then generate a barcode into a a new cell in a column called "barcode". </p>
  
  <p>I understand there is a loop function for this but I have never used it before.</p>
  
  <p>The code that generates the barcode is the following , it calls two classes:</p>
  
  <pre><code> Image barc = Rendering.MakeBarcodeImage(txtTrack.Text, int.Parse(txtWidth.Text), true);
   pictBarcode.Image = barc;
  </code></pre>
  
  <p>Any Help would be much appreciated. I will happily answer any other questions.</p>