No announcements
Found 451641 threads
-
2 Votes
LINQ Group and Count
But that was due the people's ignorance of Linq several years ago, and they didn't even know that Linq existed or what it was for, and unfortunately they still don't not ...Answered | 10 Replies | 530 Views | Created by Darren Rockett - Tuesday, July 4, 2017 2:31 PM | Last reply by Darren Rockett - Friday, July 7, 2017 1:12 PM -
0 Votes
Count Group Ordinal in LINQ to Datasets
This states that if r.rent is null, use the value 0 for r.Rent. when counting this record.Answered | 2 Replies | 2266 Views | Created by Mark Zudeck - Thursday, November 8, 2012 6:12 PM | Last reply by Alexander Sun - Friday, November 9, 2012 8:36 AM -
0 Votes
Problems translating SQL group, join & counts to LINQ?
Hi I have a working SQL statement that I am trying to translate to LINQ because of the combination of group by, join and count expressions ...Answered | 2 Replies | 3649 Views | Created by Navilluso - Thursday, September 3, 2009 1:56 PM | Last reply by Navilluso - Thursday, September 3, 2009 3:32 PM -
0 Votes
c# LINQ GGOUP BY AND COUNT
var parameter_value = "The Value To Filter On"; var results = from t in ctx.Trans join iw in ctx.IWbook on t.IWork_ID equals ...Answered | 2 Replies | 2543 Views | Created by wendy elizabeth - Thursday, October 4, 2012 10:22 PM | Last reply by Fernando Soto - MCSD - Friday, October 5, 2012 3:51 AM -
0 Votes
Linq: count(distinct) conversion
c.User).Distinct().Count() }Answered | 3 Replies | 1378 Views | Created by ebiz-tutor - Monday, April 21, 2014 11:35 AM | Last reply by ebiz-developer - Monday, April 21, 2014 12:48 PM -
0 Votes
Count rows in LINQ
Thanks for your favorable reply.. still I dont find the method Count() > in Intellisense If that's the case, then you may not have the required namespace ...Answered | 4 Replies | 3979 Views | Created by Ghanshyam Thakkar - Thursday, October 13, 2011 5:05 AM | Last reply by darnold924 - Thursday, October 13, 2011 12:11 PM -
1 Votes
how to use count(*) and groupby using Linq
from t in dc.Table group t by user into tg select new { user = tg.key, submitted = tg.Count() } Damien G's Linq-to-SQL ...Answered | 2 Replies | 3970 Views | Created by Jumpingboy - Thursday, May 6, 2010 8:08 PM | Last reply by KristoferA - Friday, May 7, 2010 3:19 AM -
0 Votes
Group and Count
I think in each DateModel I should have the Counts for each type.Answered | 5 Replies | 1300 Views | Created by MDMoura - Monday, October 22, 2012 1:37 PM | Last reply by MDMoura - Monday, October 22, 2012 8:48 PM -
0 Votes
Grouping By one column, and Count in the next
Until then check out Group Elements in a Sequence which has a good start.Answered | 1 Replies | 324 Views | Created by voot1989 - Tuesday, June 25, 2019 11:02 AM | Last reply by Kareninstructor - Tuesday, June 25, 2019 11:37 AM -
3 Votes
C# Linq count
If you're using EF or LINQ to SQL, this will all get computed on the server.Answered | 5 Replies | 5282 Views | Created by wendy elizabeth - Thursday, October 4, 2012 7:58 PM | Last reply by Reed Copsey, Jr - Thursday, October 4, 2012 9:24 PM -
0 Votes
Counting Groups Within Groups
: Select PdNumber, Severity, count(severity) as AgencyByType from from tblCsCases where IssuedDate BETWEEN '20160101' AND '20161231' group by PdNumber, ...Answered | 5 Replies | 578 Views | Created by Kurt Woodfin - Friday, January 27, 2017 5:19 PM | Last reply by Kurt Woodfin - Friday, January 27, 2017 7:00 PM -
0 Votes
Join with Group By query in LINQ
Take a look at this other thread: http://stackoverflow.com/questions/695506/linq-left-join-group-by-and-count Best ...Answered | 3 Replies | 3741 Views | Created by Indrajeet_perpetuiti - Saturday, October 8, 2011 1:33 PM | Last reply by Alan_chen - Tuesday, October 11, 2011 8:59 AM -
0 Votes
count (group by)
DECLARE @customers TABLE (customerID INT, locationName CHAR(1), emailAddress VARCHAR(20)) INSERT INTO @customers (customerID, locationName, emailAddress) VALUES (906, ...Answered | 5 Replies | 992 Views | Created by vishu_k - Monday, August 18, 2014 8:43 PM | Last reply by Patrick Hurst - Monday, August 18, 2014 9:44 PM -
0 Votes
Group By on rectangular array using LINQ
Hi ihaveanazurequestion, LINQ is based on IEnumerable<T> interface and rectangular array doesn't implement this interface.Answered | 1 Replies | 532 Views | Created by ihaveanazurequestion - Thursday, September 10, 2015 9:11 PM | Last reply by DotNet Wang - Friday, September 11, 2015 2:00 AM -
0 Votes
Optimization / Linq to SQL / First & Count
The above are much faster than .First() and .Count().Answered | 9 Replies | 7326 Views | Created by Alex Barimo - Thursday, April 22, 2010 6:41 PM | Last reply by Alex Barimo - Friday, April 30, 2010 5:48 PM -
0 Votes
Count row when group
On Calculation for task and group summary rows, I select Roll up - Count All.Answered | 4 Replies | 5884 Views | Created by Mimi Laongpanich - Thursday, March 1, 2012 1:47 PM | Last reply by Ismet Kocaman - Thursday, March 1, 2012 5:46 PM -
1 Votes
linq expression for string comparison that counts equal words
For your question, you want to define a LINQ expression that it could find all list items when they match your needle best.Answered | 2 Replies | 613 Views | Created by Zero3000 - Friday, February 15, 2019 9:51 AM | Last reply by Jack J Jun - Monday, February 18, 2019 6:15 AM -
0 Votes
Group By LINQ Query.
// You list of the data List<Data> dataList = new List<Data>() { new Data { Name = "ABC", Stream = "DotNet" }, new Data { Name = ...Answered | 1 Replies | 3717 Views | Created by Ind_Alchemist - Friday, February 8, 2013 6:59 AM | Last reply by Fernando Soto - MCSD - Friday, February 8, 2013 2:31 PM -
0 Votes
Grouping with Linq and IEqualityComparer
You want "Count() !Answered | 1 Replies | 12953 Views | Created by cav75 - Friday, September 30, 2011 2:14 PM | Last reply by EWoodruff - Friday, September 30, 2011 9:29 PM -
0 Votes
Grouping without using LINQ
Try this if you want to group.Answered | 5 Replies | 1722 Views | Created by Volkert Lindström - Monday, September 12, 2011 12:04 PM | Last reply by chanmm - Tuesday, September 13, 2011 2:48 AM - Items 1 to 20 of 451641 Next ›
No announcements