Yashogi
Yashogi
CC#
Created by Yashogi on 3/20/2023 in #help
❔ Object reference set to null
request is the method placeholder
7 replies
CC#
Created by Yashogi on 3/20/2023 in #help
❔ Object reference set to null
I keep getting object reference set to null and I can't seem to figure out why
7 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
Yeah I gave that a shot no can do, I appreciate the help guys I've learnt a lot but I think I gotta wrack my brain at it
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
This question is crazy hahaha
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
Yeahhh
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
that might be something I learn at a later dae
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
and i'm only allowed to use what I know or was taught
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
Doing some take home work
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
Yeah I don't think I can do that
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
Not sure if I I was taught to use that yet
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
My issue now is that I can't access gst and subtotal
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
.OrderBy(s => s.City)
.ThenBy(s => s.Location)
.Select(s => new
{
City = s.City,
Location = s.Location,
Sales = Orders
.Where(dateGroup => s.StoreID == dateGroup.StoreID && dateGroup.OrderDate.Month == 12)
.GroupBy(o => new {o.OrderDate})
.Select(s => new
{
Sales = s.Key.OrderDate,
NumberOfOrders = s.Count(),
})

})
.Dump();

.OrderBy(s => s.City)
.ThenBy(s => s.Location)
.Select(s => new
{
City = s.City,
Location = s.Location,
Sales = Orders
.Where(dateGroup => s.StoreID == dateGroup.StoreID && dateGroup.OrderDate.Month == 12)
.GroupBy(o => new {o.OrderDate})
.Select(s => new
{
Sales = s.Key.OrderDate,
NumberOfOrders = s.Count(),
})

})
.Dump();

222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
I've decided to re work some of it
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
Never mind I think I found another solution
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
How would I go about fixing it so I link the tables and get the same condition
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
and orderdate.month
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
the store id
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
My where starts to get an error that way
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
I'll give it a shot
222 replies
CC#
Created by Yashogi on 2/6/2023 in #help
LInq Combine duplicates
222 replies