Copia columnas de un datatable a otro

/ Published in: VB.NET
Save to your folder(s)

Copia columnas y data de un datatable a otro. Y luego quitamos las columnas innecesarias

Copy this code and paste it in your HTML
  1. dim dtAntiguo as datatable
  2. dim dtNuevo as datatable
  3. dtNuevo = dtAntiguo.Copy()
  4. dtNuevo .Columns.Remove("ColumnToRemove")

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.