Adding Index Column in DataTable using LINQ

we can avoid the LINQ and achieve it by:

  • Build DataTable - Configure an empty DataTable with 1 Col - RowNum, Configure AutoIncrement
    grafik
    dtMarked

Then use a Merge DataTable Activity and merge your DataTable into dtMarked

2 Likes