Hi @drago47
Please use the below Linq Expression
(From d In builDt.AsEnumerable
Let u = If(d(1).toString.Trim.Equals(“B”),“Yes”,“”)
Select DtResult.Rows.Add(New Object(){d(0),d(1),u})).CopyToDataTable
Modified the solution provided by @ppr
And also refer the thread below…
Refer to the xaml below!
test.xaml (8.2 KB)
Regards