Explore LINQ on Experts Exchange

Expert Solutions for Your Tech Problems

LINQLINQ Query

Language Integrated Query (LINQ) is a Microsoft .NET Framework component that adds native data querying capabilities to .NET languages, although po...

Read more
  • 680 Content
  • 206 Contributors

Leading Experts In
LINQ Query
<
Monthly
>
Troubleshooting Solution

Linq: Failed to compare two elements in the array

13
Hi Experts!

Need help with the following LINQ syntax; the error is: Failed to compare two elements in …
Troubleshooting Solution

Help with speed of big data loops

17
Hello EE,

I have in vb.net a dictionary of (Date, String) that looks like this :

"01/01/1980" …
Troubleshooting Solution

Fill Entity class's from store procedur that has One to many relationship data withou any key

11
How could I fill my 'Department' entity which contains a list of 'Employee' entities from the …
Troubleshooting Solution

Populate Department class which contains a list of 'Employees' where there is no key from another entity class

15
How to loop through an entity 'DepartmentEmployee' and fill Department class which contains a list …
Troubleshooting Solution

Convert T-SQL to LINQ - Need Help With Syntax

8
Happy Independent Day Experts!

I need your help with LINQ syntax. Basically, trying to convert …
Troubleshooting Solution

C# Linq to Get XML

38
If I have the below XML.  I want to do 2 things.

First get everything between <key></key> so I …
Troubleshooting Solution

Merge data

bylulu50
11
Hi,

I don't know how to do this and need your help.

How can I merge my field …
Troubleshooting Solution

loop through a table and fill Department class from the another entity class

10
How to loop through a table and fill department class which contains a list of 'Employee' where …
Troubleshooting Solution

Linq Data Range

bylulu50
21
Hi,

I need your help please!!!

 I want to say if the user enter in GroupTxt a range from 10 …
Troubleshooting Solution

LINQ:  ROW_NUMBER() OVER(PARTITION BY  ORDER BY

2
Hi Experts!

Need your help with the converting the following SQL to LINQ:


Here's the attempted LINQ:
Troubleshooting Solution

LINQ Query: Assign Nullable<DateTime> to DateTime

7
Hi Experts!

Need your help with the following assignement in a LINQ query.The data in pp.DateTo is …
Troubleshooting Solution

Linq syntax

bylulu50
1
Hi,

I'm learning how to work with linq.

I want to get all data from GroupDetail that contain the …
Troubleshooting Solution

Help with Linq VB.NET

1
Hello EE,

I need to do a LINQ query in VB.NET from a Dictionary of String, integer

I want all …
Troubleshooting Solution

C# LINQ - Get One Record The Meets Condition, If Not Just Select One Record

6
Hi Experts!

Need your help with the following query.

In jobHistories, for each City, for each …
Troubleshooting Solution

C# Delete values from LIst<string> verifying against Enum

19
I am writing an app that will get a list of directories and files.  I am populating a List<string> …
Troubleshooting Solution

How do I use LINQ Contains(string[])

bylulu50
6
Hi,

I'm working with linq and need your help please.

I have a string[] SelectedVersion that I…
Troubleshooting Solution

Whats wrong with my LINQ query  Trying to Find a Record in List

2
I have this Grid in my c# application

The Display Value in column 1  has an ID and Description  (…
Troubleshooting Solution

Filter and count child records

1
Stuck on this one - need to only count the child match records that have an isActive value of …
Troubleshooting Solution

C# LINQ - Get Latest and Return List

5
Hi Experts!

Need your help.
In C# LINQ how do you get the latest enrollment and return a List …
Troubleshooting Solution

Decipher this Linq statement

bydeleyd
4
I'm trying to decipher this Linq statement. Can we reverse it back to some foreach loops?

Do more with Experts Exchange.


Get Answers

Take a Class

Collaborate

Monitor your Site

Explore solutions and more