No announcements
Found 2868573 threads
-
2 Votes
LINQ GroupBy not working
I have tried searching on how it maybe possible, but to no avail.Answered | 14 Replies | 2048 Views | Created by Dale Harris - Friday, December 4, 2015 4:11 AM | Last reply by Matthew LEAN . D - Wednesday, December 9, 2015 4:42 AM -
2 Votes
XML to LinQ - GroupBy
Hello, Work through the problem in steps, do your groupby then assertions next.Answered | 5 Replies | 800 Views | Created by Markus Freitag - Friday, November 8, 2019 4:31 PM | Last reply by Kareninstructor - Tuesday, November 12, 2019 6:02 PM -
1 Votes
[LINQ] GroupBy Question
x) to GroupBy(x=>x[0]) var myLinq = myList .GroupBy(x => x[0]) // here!Answered | 2 Replies | 517 Views | Created by Using_Word_Everydai - Friday, September 21, 2018 3:00 AM | Last reply by Using_Word_Everydai - Friday, September 21, 2018 3:33 AM -
0 Votes
LINQ: use "GroupBy" can not return "dataview"
Like Cor Ligthert's said, query was a IEnumerable<T> type returning.Answered | 2 Replies | 4995 Views | Created by tommyVB - Tuesday, July 12, 2011 2:19 AM | Last reply by Larcolais Gong - Wednesday, July 13, 2011 8:30 AM -
2 Votes
Linq to objects GroupBy OrderBy
Hello JRichTX, How is the problem now?Answered | 4 Replies | 8161 Views | Created by JRichTX - Monday, January 25, 2010 8:48 PM | Last reply by Michael Sun [MSFT] - Monday, February 1, 2010 1:05 AM -
0 Votes
Linq GroupBy Extension: How to retain List<Type> ???
User1224194097 posted Do like this List<MyClass>result = (from a in MyTable group a by new { a.ID } ...Answered | 1 Replies | 40 Views | Created by Anonymous - Tuesday, December 21, 2010 11:23 AM | Last reply by Anonymous - Tuesday, December 21, 2010 1:02 PM -
0 Votes
GroupBy - Error Operator / cannot be applied to operands of type IEnumerable<float> and float
This will produce the expected results: List<Record> records = new List<Record>(); records.Add(new Record() { A = 0, B = 1, C = 4 ...Answered | 2 Replies | 757 Views | Created by ihaveanazurequestion - Friday, September 11, 2015 3:30 AM | Last reply by Magnus (MM8) - Friday, September 11, 2015 12:33 PM -
2 Votes
Filter a list using Linq
Results: Importing a file into List (Streamreader) and Linq operation, without writing result to file = 0,77 sec Importing a file into ...Answered | 6 Replies | 661 Views | Created by bobis123 - Tuesday, September 4, 2018 2:26 PM | Last reply by Stanly Fan - Thursday, September 6, 2018 1:27 AM -
0 Votes
Switching Content Type for a list item retains data
Correct me if I'm wrong, but when you allow management of content types it copies all the fields for the content type as columns in the list and to the default view.Answered | 2 Replies | 6270 Views | Created by Suliz - Friday, January 16, 2009 3:22 AM | Last reply by John D. Ross - Friday, January 16, 2009 1:39 PM -
0 Votes
LINQ nested groupby issue
Hi WML, I think you can refer this link ...Answered | 1 Replies | 3163 Views | Created by WML-AUS - Monday, January 30, 2012 6:36 AM | Last reply by Alan_chen - Wednesday, February 1, 2012 7:04 AM -
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 "cheat ...Answered | 2 Replies | 4083 Views | Created by Jumpingboy - Thursday, May 6, 2010 8:08 PM | Last reply by KristoferA - Friday, May 7, 2010 3:19 AM -
0 Votes
Groupby list items in a custom webpart
Hi Nilesh, How is everything going?Answered | 6 Replies | 944 Views | Created by Nilesh Ahinave - Monday, May 23, 2016 4:45 AM | Last reply by Victoria Xia - Sunday, May 29, 2016 7:29 AM -
0 Votes
Linq GroupBy Error
How did you use to convert?Answered | 6 Replies | 5750 Views | Created by JasonRP - Friday, October 9, 2009 7:40 PM | Last reply by JasonRP - Tuesday, October 20, 2009 1:11 PM -
0 Votes
CdoeFirst: GroupBy Type?
Hi Michael, You'll need to pull the data back into memory to do this as LINQ to Entities doesn't work with .GetType().Answered | 3 Replies | 7126 Views | Created by Mike-E_wins - Friday, April 8, 2011 12:54 PM | Last reply by Mike-E_wins - Friday, April 22, 2011 6:41 PM -
2 Votes
VB.Net - Linq Group By returns IEnumerable(Of Anonymous Type)
Exactly, and we can't control how the compiler translates these conversions.Answered | 15 Replies | 6480 Views | Created by Jerry Sun (London) - Sunday, April 10, 2016 4:23 PM | Last reply by DA924x - Thursday, April 21, 2016 10:53 PM -
0 Votes
How to return user type from linq query
Hi John, The standard LINQ extension methods don't include a way to return a SortableBindingList.Answered | 2 Replies | 2305 Views | Created by John D. Sanders - Friday, May 4, 2012 3:26 AM | Last reply by John D. Sanders - Friday, May 4, 2012 12:34 PM -
0 Votes
Linq to Entity Extension methods
Hi, The issue is that a LINQ expression is translated to a SQL statement that then runs server side.Answered | 1 Replies | 3421 Views | Created by Yannick Lapierre - Thursday, April 12, 2012 9:41 AM | Last reply by Patrice Scribe - Thursday, April 12, 2012 10:01 AM -
2 Votes
GroupBy question.... i think!!!
the following code you gave me compiles without error and lists all the transactions on every Monday (27/09/2010 & 04/10/2010) but it does not give me the sum of ...Answered | 8 Replies | 4000 Views | Created by J de C - Sunday, October 3, 2010 6:13 PM | Last reply by JA Reyes - Wednesday, October 6, 2010 5:04 PM -
0 Votes
CAML GroupBy Sites
I am creating a webpart which queries all lists of content type "A".Answered | 1 Replies | 2763 Views | Created by xFabx - Monday, September 3, 2012 8:00 PM | Last reply by Anand . Ramanan - Monday, September 3, 2012 11:38 PM -
2 Votes
Linq help with IEnumerable<KeyValuePair<string, string>> to a Dictionary<string, List<string>>
Thanks everyone, this was all very informative as I have not used Linq extensively and seeing examples helped.Answered | 4 Replies | 8826 Views | Created by Ritmo2k - Tuesday, January 13, 2015 10:26 PM | Last reply by Ritmo2k - Wednesday, January 14, 2015 11:18 PM - Items 1 to 20 of 2868573 Next ›
No announcements