TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abhineet Srivastava
NA
890
95k
LINQ Query
Dec 13 2013 2:04 PM
What's wrong in my Linq expression:-
List<FocusArea> filteredListOfFocusAreas = new List<FocusArea>();
foreach(var segment1 in segment1Value.Split(';'))
{
var segment1DBValue = 1; //Fetch mapped value from DB in INT
foreach(var segment2 in segment2Value.Split(';')){
var segment2DBValue = 1; //Fetch mapped value from DB in INT
filteredListOfFocusAreas.Add(listOfFocusAreas.Where(fa => fa.Segment1 == segment1DBValue && fa.Segment2 == segment2DBValue && fa.Segment3 == 0));
}
}
Reply
Answers (
2
)
Urgent - reply fast- Unable 2 find nested user control value
Add item from Listbox to listbox