/ Published in: C#
Expand |
Embed | Plain Text
public List<T> GetTotalRegisteredUserCount() { var qry = from aspnet_Profile profile in aspnet_Profiles group profile by profile.Country into grp select new { Country = grp.Key, Count = grp.Select(x => x.Country).Distinct().Count() }; return qry.ToList(); }
You need to login to post a comment.
