Click here to Skip to main content
15,902,032 members

Comments by Ahmad Mujtaba (Top 1 by date)

Ahmad Mujtaba 4-Aug-15 9:13am View    
Issue is solved i just use Dintinct () method instead of grouping as
.Select(x => new { nCountryId = x.bkAirport.nCountryId, strCountryName = x.strCountryName }).Distinct().ToList().OrderBy(o => o.strCountryName);