Click here to Skip to main content
14,689,402 members
Home » Discussions » C#
   

C#

 
GeneralRe: C# win forms .net core, user control, array on a dialog. Pin
jkirkerx28-Oct-20 5:32
professionaljkirkerx28-Oct-20 5:32 
GeneralRe: C# win forms .net core, user control, array on a dialog. Pin
OriginalGriff28-Oct-20 5:40
mveOriginalGriff28-Oct-20 5:40 
GeneralRe: C# win forms .net core, user control, array on a dialog. Pin
jkirkerx28-Oct-20 5:49
professionaljkirkerx28-Oct-20 5:49 
GeneralRe: C# win forms .net core, user control, array on a dialog. Pin
OriginalGriff28-Oct-20 6:20
mveOriginalGriff28-Oct-20 6:20 
GeneralRe: C# win forms .net core, user control, array on a dialog. Pin
jkirkerx28-Oct-20 7:19
professionaljkirkerx28-Oct-20 7:19 
GeneralRe: C# win forms .net core, user control, array on a dialog. Pin
OriginalGriff28-Oct-20 7:35
mveOriginalGriff28-Oct-20 7:35 
AnswerI think I have it now Pin
jkirkerx28-Oct-20 6:16
professionaljkirkerx28-Oct-20 6:16 
QuestionLinq To SQL - Join To Latest Record Pin
Kevin Marois27-Oct-20 13:27
professionalKevin Marois27-Oct-20 13:27 
I have this query:
var currentYearData = (from p in db.Projects
                        join co in db.Companies on p.CompanyId equals co.Id
                        join cty in db.Cities on p.CityId equals cty.Id
                        join j in db.Jobs on p.Id equals j.ProjectId
                        join jsdr in db.JobStartDateRevisions on j.Id equals jsdr.JobId
                        where jsdr.StartDate >= start && jsdr.StartDate <= end
                        select new { p, c=co, cty, j, jsdr })
                        .OrderBy(x => x.c.CompanyName)
                        .ThenBy(x => x.p.ProjectName)
                        .ThenBy(x => x.jsdr.StartDate)
                        .ToList();

Where I join on JobStartDateRevisions, I only want to join to the NEWEST JobStartDateRevision record.

Is this possible? Can someone show me how to do this?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: Linq To SQL - Join To Latest Record Pin
pkfox27-Oct-20 23:15
professionalpkfox27-Oct-20 23:15 
QuestionTemporal Nulls in C# Pin
RandyBuchholz27-Oct-20 4:18
MemberRandyBuchholz27-Oct-20 4:18 
AnswerRe: Temporal Nulls in C# Pin
Gerry Schmitz27-Oct-20 5:26
mveGerry Schmitz27-Oct-20 5:26 
AnswerRe: Temporal Nulls in C# Pin
Pete O'Hanlon27-Oct-20 10:55
subeditorPete O'Hanlon27-Oct-20 10:55 
AnswerRe: Temporal Nulls in C# Pin
BillWoodruff27-Oct-20 11:17
mveBillWoodruff27-Oct-20 11:17 
QuestionProgramming C # Pin
Immanuel Hitila26-Oct-20 13:10
MemberImmanuel Hitila26-Oct-20 13:10 
AnswerRe: Programming C # Pin
Pete O'Hanlon26-Oct-20 13:16
subeditorPete O'Hanlon26-Oct-20 13:16 
GeneralRe: Programming C # Pin
Immanuel Hitila26-Oct-20 13:21
MemberImmanuel Hitila26-Oct-20 13:21 
AnswerRe: Programming C # Pin
Richard Andrew x6426-Oct-20 15:06
professionalRichard Andrew x6426-Oct-20 15:06 
AnswerRe: Programming C # Pin
OriginalGriff26-Oct-20 22:14
mveOriginalGriff26-Oct-20 22:14 
QuestionHow to launch a form only once Pin
Member 1479239326-Oct-20 8:57
MemberMember 1479239326-Oct-20 8:57 
AnswerRe: How to launch a form only once Pin
OriginalGriff26-Oct-20 9:35
mveOriginalGriff26-Oct-20 9:35 
GeneralRe: How to launch a form only once Pin
Member 1479239326-Oct-20 11:09
MemberMember 1479239326-Oct-20 11:09 
GeneralRe: How to launch a form only once Pin
OriginalGriff26-Oct-20 22:15
mveOriginalGriff26-Oct-20 22:15 
GeneralRe: How to launch a form only once Pin
Member 1479239327-Oct-20 11:40
MemberMember 1479239327-Oct-20 11:40 
GeneralRe: How to launch a form only once Pin
OriginalGriff27-Oct-20 11:42
mveOriginalGriff27-Oct-20 11:42 
AnswerRe: How to launch a form only once Pin
Gerry Schmitz26-Oct-20 15:50
mveGerry Schmitz26-Oct-20 15:50 

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.