Click here to Skip to main content
15,389,177 members
Home / Discussions / C#
   

C#

 
GeneralRe: System.AccessViolationException openfiledialog win7 Pin
Rahul Sabharwal10-Sep-12 1:47
MemberRahul Sabharwal10-Sep-12 1:47 
GeneralRe: System.AccessViolationException openfiledialog win7 Pin
Eddy Vluggen10-Sep-12 2:31
professionalEddy Vluggen10-Sep-12 2:31 
QuestionNamedPipeServerStream.GetAccessControl Pin
True_Posi10-Sep-12 0:10
MemberTrue_Posi10-Sep-12 0:10 
AnswerRe: NamedPipeServerStream.GetAccessControl Pin
Eddy Vluggen10-Sep-12 1:43
professionalEddy Vluggen10-Sep-12 1:43 
GeneralRe: NamedPipeServerStream.GetAccessControl Pin
True_Posi10-Sep-12 2:25
MemberTrue_Posi10-Sep-12 2:25 
GeneralRe: NamedPipeServerStream.GetAccessControl Pin
Eddy Vluggen10-Sep-12 2:42
professionalEddy Vluggen10-Sep-12 2:42 
GeneralRe: NamedPipeServerStream.GetAccessControl Pin
True_Posi10-Sep-12 3:11
MemberTrue_Posi10-Sep-12 3:11 
QuestionWhere clause in subcollection Pin
Mark Vloerjans9-Sep-12 21:18
MemberMark Vloerjans9-Sep-12 21:18 
Hi all!

I've got a problem with a where clause in a subcollection, the situation is like this.

I've got a collection of schools, in that collection there's an other collection of students. I want to perform a where clause in de student collection.

So, its like this:

List<schools>
- Id: Guid
- Name: string
- Address: string
- Director: string
- List<students> (- Id: Guid, - Age: int, - Address: string, - Study: string)

I want to do something like this (which doesn't work... Frown | :( ), so I only pass all the schools with all the students who study IT.

CheckStudents(School.Where(s => s.Students.Where(s => s.Study == "IT")))

The method signature CheckStudents looks like this: CheckStudents(List<schools>)


Can anyone help me out on this?

Thanks in advance!
QuestionRe: Where clause in subcollection Pin
Wayne Gaylard10-Sep-12 1:12
professionalWayne Gaylard10-Sep-12 1:12 
AnswerRe: Where clause in subcollection Pin
Pete O'Hanlon10-Sep-12 1:51
mvaPete O'Hanlon10-Sep-12 1:51 
AnswerRe: Where clause in subcollection Pin
BobJanova11-Sep-12 0:31
MemberBobJanova11-Sep-12 0:31 
QuestionHow to convert HTML file to Excel in C# Pin
atma0019-Sep-12 20:29
Memberatma0019-Sep-12 20:29 
AnswerRe: How to convert HTML file to Excel in C# Pin
Eddy Vluggen9-Sep-12 22:14
professionalEddy Vluggen9-Sep-12 22:14 
GeneralRe: How to convert HTML file to Excel in C# Pin
atma00110-Sep-12 6:32
Memberatma00110-Sep-12 6:32 
GeneralRe: How to convert HTML file to Excel in C# Pin
Eddy Vluggen11-Sep-12 1:42
professionalEddy Vluggen11-Sep-12 1:42 
Questionhow can i create an interface for crystal report at user end Pin
rajeeshsays9-Sep-12 13:26
Memberrajeeshsays9-Sep-12 13:26 
AnswerCross post Pin
Wes Aday9-Sep-12 13:59
professionalWes Aday9-Sep-12 13:59 
AnswerRe: how can i create an interface for crystal report at user end Pin
PIEBALDconsult9-Sep-12 19:42
professionalPIEBALDconsult9-Sep-12 19:42 
QuestionWindows 7 and task bar - left side in C# Pin
fakir4459-Sep-12 12:25
Memberfakir4459-Sep-12 12:25 
AnswerRe: Windows 7 and task bar - left side in C# Pin
Mycroft Holmes9-Sep-12 14:31
professionalMycroft Holmes9-Sep-12 14:31 
AnswerRe: Windows 7 and task bar - left side in C# Pin
DaveyM6910-Sep-12 2:09
professionalDaveyM6910-Sep-12 2:09 
QuestionC# share data between project files Pin
classy_dog9-Sep-12 10:26
Memberclassy_dog9-Sep-12 10:26 
AnswerRe: C# share data between project files Pin
RobCroll9-Sep-12 13:55
MemberRobCroll9-Sep-12 13:55 
GeneralRe: C# share data between project files Pin
classy_dog9-Sep-12 16:43
Memberclassy_dog9-Sep-12 16:43 
GeneralRe: C# share data between project files Pin
RobCroll11-Sep-12 23:25
MemberRobCroll11-Sep-12 23:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.