Hi All,
I am using the below query to select the first element but it is not working correctly . Please can anyone help me with this . The query is -
(From d In DT.AsEnumerable
Group d By k=d(“Reinsurance/Treaty Name Code”).toString.Trim Into grp=Group
Select grp.First()).CopyToDataTable