Click here to Skip to main content
11,708,312 members (75,192 online)
   

C#

 
AnswerRe: C# linq with 3 tables Pin
Aasif Chanandin8-Oct-12 5:11
memberAasif Chanandin8-Oct-12 5:11 
AnswerRe: C# linq with 3 tables Pin
gazmendmehmeti8-Oct-12 21:52
membergazmendmehmeti8-Oct-12 21:52 
QuestionWhy is my control added three times? Pin
GrooverFromHolland7-Oct-12 7:01
memberGrooverFromHolland7-Oct-12 7:01 
AnswerRe: Why is my control added three times? Pin
DaveyM697-Oct-12 8:09
mentorDaveyM697-Oct-12 8:09 
GeneralRe: Why is my control added three times? Pin
GrooverFromHolland7-Oct-12 8:42
memberGrooverFromHolland7-Oct-12 8:42 
GeneralRe: Why is my control added three times? Pin
DaveyM697-Oct-12 9:01
mentorDaveyM697-Oct-12 9:01 
AnswerRe: Why is my control added three times? Pin
Alan N7-Oct-12 8:34
memberAlan N7-Oct-12 8:34 
GeneralRe: Why is my control added three times? Pin
DaveyM697-Oct-12 9:02
mentorDaveyM697-Oct-12 9:02 
GeneralRe: Why is my control added three times? Pin
GrooverFromHolland7-Oct-12 10:23
memberGrooverFromHolland7-Oct-12 10:23 
AnswerRe: Why is my control added three times? Pin
V.7-Oct-12 23:41
memberV.7-Oct-12 23:41 
QuestionHow FingerPrint Device uses zkemkeeper.dll to get ID of each user print it's finger in Device Pin
osama_hagrass6-Oct-12 23:13
memberosama_hagrass6-Oct-12 23:13 
AnswerRe: How FingerPrint Device uses zkemkeeper.dll to get ID of each user print it's finger in Device Pin
Eddy Vluggen7-Oct-12 1:14
memberEddy Vluggen7-Oct-12 1:14 
QuestionC# string array Pin
sc steinhayse6-Oct-12 15:11
membersc steinhayse6-Oct-12 15:11 
AnswerRe: C# string array Pin
Dave Kreskowiak6-Oct-12 20:26
mvpDave Kreskowiak6-Oct-12 20:26 
Based on what you've posted so far, there is no exception possible. But, since we can't see the code that declared these types, the details collection, how it's populated, ..., we really couldn't tell you for sure.

But, if the Select returns no ID's, the array will come back empty and the foreach iterating over it won't do anything.

You don't have to change this code at all.

Next time, you might want to try testing the code with test data specifically designed to try and break it.

AnswerRe: C# string array Pin
Eddy Vluggen7-Oct-12 1:13
memberEddy Vluggen7-Oct-12 1:13 
AnswerRe: C# string array Pin
montevina 28-Oct-12 1:30
groupmontevina 28-Oct-12 1:30 
GeneralRe: C# string array Pin
BobJanova9-Oct-12 0:09
memberBobJanova9-Oct-12 0:09 
AnswerRe: C# string array Pin
BobJanova9-Oct-12 0:10
memberBobJanova9-Oct-12 0:10 
Questionwindows service to check file directory path Pin
rachel_m6-Oct-12 9:46
memberrachel_m6-Oct-12 9:46 
AnswerRe: windows service to check file directory path Pin
Richard Andrew x646-Oct-12 9:56
memberRichard Andrew x646-Oct-12 9:56 
GeneralRe: windows service to check file directory path Pin
rachel_m6-Oct-12 10:48
memberrachel_m6-Oct-12 10:48 
AnswerRe: windows service to check file directory path Pin
Eddy Vluggen6-Oct-12 11:28
memberEddy Vluggen6-Oct-12 11:28 
QuestionHTML Body mail with link button Pin
Murugavel Sadagopan6-Oct-12 9:21
memberMurugavel Sadagopan6-Oct-12 9:21 
AnswerRe: HTML Body mail with link button Pin
n.podbielski8-Oct-12 23:08
membern.podbielski8-Oct-12 23:08 
QuestionC# checking for spaces Pin
rachel_m6-Oct-12 8:44
memberrachel_m6-Oct-12 8:44 
AnswerRe: C# checking for spaces Pin
Dave Kreskowiak6-Oct-12 10:06
mvpDave Kreskowiak6-Oct-12 10:06 
AnswerRe: C# checking for spaces Pin
Richard Andrew x646-Oct-12 10:14
memberRichard Andrew x646-Oct-12 10:14 
AnswerRe: C# checking for spaces Pin
DaveyM696-Oct-12 11:42
mentorDaveyM696-Oct-12 11:42 
QuestionsqlQuery Pin
Member 94545636-Oct-12 1:14
memberMember 94545636-Oct-12 1:14 
AnswerRe: sqlQuery Pin
ProgramFOX6-Oct-12 2:24
memberProgramFOX6-Oct-12 2:24 
AnswerRe: sqlQuery Pin
OriginalGriff6-Oct-12 4:49
mvpOriginalGriff6-Oct-12 4:49 
Questiontic toe game not working as expected,please help? Pin
Member 94790245-Oct-12 22:59
memberMember 94790245-Oct-12 22:59 
AnswerRe: tic toe game not working as expected,please help? Pin
Pete O'Hanlon6-Oct-12 1:51
protectorPete O'Hanlon6-Oct-12 1:51 
AnswerRe: tic toe game not working as expected,please help? Pin
John Orendt7-Oct-12 0:36
memberJohn Orendt7-Oct-12 0:36 
QuestionHow to create a message sender which will use your mobile no and credit but no use of your mobile? Pin
zain_zone5-Oct-12 22:11
memberzain_zone5-Oct-12 22:11 
AnswerRe: How to create a message sender which will use your mobile no and credit but no use of your mobile? Pin
Eddy Vluggen6-Oct-12 3:45
memberEddy Vluggen6-Oct-12 3:45 
GeneralRe: How to create a message sender which will use your mobile no and credit but no use of your mobile? Pin
OriginalGriff6-Oct-12 5:00
mvpOriginalGriff6-Oct-12 5:00 
QuestionNeed Help UNICODE Pin
Nazim Iqbal5-Oct-12 13:55
memberNazim Iqbal5-Oct-12 13:55 
AnswerRe: Need Help UNICODE Pin
Richard MacCutchan5-Oct-12 22:29
mvpRichard MacCutchan5-Oct-12 22:29 
QuestionC# search directory paths Pin
rachel_m5-Oct-12 10:43
memberrachel_m5-Oct-12 10:43 
AnswerRe: C# search directory paths Pin
Eddy Vluggen5-Oct-12 10:49
memberEddy Vluggen5-Oct-12 10:49 
AnswerRe: C# search directory paths Pin
Richard MacCutchan5-Oct-12 22:28
mvpRichard MacCutchan5-Oct-12 22:28 
GeneralRe: C# search directory paths Pin
rachel_m6-Oct-12 9:01
memberrachel_m6-Oct-12 9:01 
GeneralRe: C# search directory paths Pin
Richard MacCutchan6-Oct-12 21:19
mvpRichard MacCutchan6-Oct-12 21:19 
Generalpls help learn c# need someone to guide me thru Pin
becky suinner5-Oct-12 9:42
memberbecky suinner5-Oct-12 9:42 
GeneralRe: pls help learn c# need someone to guide me thru Pin
Eddy Vluggen5-Oct-12 9:46
memberEddy Vluggen5-Oct-12 9:46 
GeneralRe: pls help learn c# need someone to guide me thru Pin
becky suinner5-Oct-12 9:58
memberbecky suinner5-Oct-12 9:58 
GeneralRe: pls help learn c# need someone to guide me thru Pin
Eddy Vluggen5-Oct-12 10:03
memberEddy Vluggen5-Oct-12 10:03 
GeneralRe: pls help learn c# need someone to guide me thru Pin
becky suinner5-Oct-12 10:01
memberbecky suinner5-Oct-12 10:01 
GeneralRe: pls help learn c# need someone to guide me thru Pin
Eddy Vluggen5-Oct-12 10:08
memberEddy Vluggen5-Oct-12 10:08 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.150819.1 | Last Updated 30 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid