Using Assign between Datatables

Popular tutorials on the web, Googling your problems adding the Keywoard VB.Net and clicking on stack overflow links:slight_smile: and of course (in the first place) reading the Forum!

my previous example assume you had value on the table, that what is preventing you to change the datatype. If it has no rows (like after clone) you can use the example bellow to change type.

One valid approach and maybe better than the previous one is to loop trough initial table with wrong type and rows to cloned one, with DataColumn type changed using the ArrayRow parameter as bellow.

Add Datarow {row(0),row(1).toString}

Link bellow can help you understanding, if not I can build you another example tomorrow (it’s late!)

Cheers