I'm trying to make this looping between the rows in the database work. I have code ready in C # and I'm using it as a reference but I can not get this part to run. Here it goes something like this:
For Each Row In ds.Tables(0).Rows
barcode.CodeToEncode = dr("productId")
dr("Barcode") = barcode.generateBarcodeToByteArray()
Next