Click here to Skip to main content
       

C#

 
QuestionC# linq group by Pinmemberrachel_m4-Oct-12 17:43 
AnswerRe: C# linq group by PinmvpOriginalGriff4-Oct-12 23:19 
GeneralRe: C# linq group by Pinmemberrachel_m5-Oct-12 2:48 
GeneralRe: C# linq group by PinmvpOriginalGriff5-Oct-12 3:29 
QuestionCrystal Reports : Database Login Prompt Issue PinmemberQuam Chang4-Oct-12 16:36 
AnswerRe: Crystal Reports : Database Login Prompt Issue PinmemberAmbiguousName4-Oct-12 20:00 
QuestionAggregate data into 5 min interval PinmemberMember 94707244-Oct-12 11:59 
QuestionC# linq Pinmemberrachel_m4-Oct-12 9:36 
0

 

I am trying to write a linq to sql statement in a C# 2008 application that writes to a sql server 2008 database.

I am able to write the following statement where there are no syntax errors;
var fdrPkg = (from a in rData.ails where a.PID == S).

 
However the above editor will not let me write the select part of the statement where I add firstordefault.

Thus can you tell me what you think could be wrong and/or how I can change the linq to sql statement so that it will work for me?
AnswerRe: C# linq PinmemberCollin Jasnoch4-Oct-12 10:00 
Question.exe Reference Problem - maybe Pinmemberdirsow4-Oct-12 7:52 
AnswerRe: .exe Reference Problem - maybe PinmemberEddy Vluggen4-Oct-12 9:01 
GeneralRe: .exe Reference Problem - maybe Pinmemberdirsow4-Oct-12 9:27 
GeneralRe: .exe Reference Problem - maybe PinmemberEddy Vluggen4-Oct-12 9:34 
GeneralRe: .exe Reference Problem - maybe Pinmemberdirsow4-Oct-12 9:41 
AnswerRe: .exe Reference Problem - maybe PinmemberBernhard Hiller4-Oct-12 21:00 
Questionhow to setting Four tier application in my application? Pinmembersomasundarapandian4-Oct-12 4:28 
AnswerRe: how to setting Four tier application in my application? PinmvpDave Kreskowiak4-Oct-12 6:45 
QuestionRe: how to setting Four tier application in my application? PinmemberEddy Vluggen4-Oct-12 9:02 
AnswerRe: how to setting Four tier application in my application? PinmvpOriginalGriff4-Oct-12 9:34 
Questionsqldatabaseconnectivity PinmemberMember 94545634-Oct-12 4:05 
AnswerRe: sqldatabaseconnectivity PinmemberRavi Bhavnani4-Oct-12 4:31 
AnswerRe: sqldatabaseconnectivity PinmvpRichard MacCutchan4-Oct-12 4:32 
AnswerRe: sqldatabaseconnectivity Pinmemberpalakshamb4-Oct-12 23:28 
QuestionCan an Attribute class find out, to which class it is actually attached? PinmemberAndy4114-Oct-12 2:42 
AnswerRe: Can an Attribute class find out, to which class it is actually attached? PinmvpDave Kreskowiak4-Oct-12 6:56 

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
Web04 | 2.8.140709.1 | Last Updated 13 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid