I have one datatable in which on column name is LotNo which is text and i want to copy to another datatable in which lotno from one table will be convert to Barcode. I am using barcode lib download from NuGet manage.
Private Sub CopyDatable()
        Dim barcode As Zen.Barcode.Code128BarcodeDraw = Zen.Barcode.BarcodeDrawFactory.Code128WithChecksum
        Dim OldDt As DataTable = New DataTable()
        Dim NewDt As DataTable = New DataTable()
        For Each sourcerow As DataRow In OldDt.Rows
            Dim destRow As DataRow = NewDt.NewRow()
            destRow("Item Name") = sourcerow("Item Name")
            destRow("Iwt") = sourcerow("Iwt")
            destRow("LotNo") = barcode.Draw(sourcerow("LotNo"), 50)
            NewDt.Rows.Add(destRow)
        Next
    End Sub

 
    