LINQ-Get Only Columns without where

Hi @KarthikBallary
another way of acheveing this is by using below assign activity

suppose u had stored ur excel in dt1

then use below assign activity

dt2 = dt1.DefaultView.ToTable(False,{“col1”,“col3”})

then dt2 will only contains col1 and col3

Regards,
Nived N
Happy Automation

2 Likes