I am getting out 2 data row now how can i add them in dt

hi

i want to take out 2 random rows form 1 dt , i did that now by using do while

now the first row that get i want too add that in new dt
in second iteration the second row i will get how to add them in dt

@mint

You can directly do that using linq in assign activity

Dt = dt.AsEnuemerable.OrderBy(function(x) guid.Newguid()).Take(2).CopyToDataTable

Thid will get tw random rows from the given dt

Cheers

@mint,

Use Add Data Row activity

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.