Click here to Skip to main content
15,914,323 members
Home / Discussions / C#
   

C#

 
GeneralRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
LeHuuTien14-Oct-15 22:27
LeHuuTien14-Oct-15 22:27 
GeneralRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
BillWoodruff14-Oct-15 22:38
professionalBillWoodruff14-Oct-15 22:38 
GeneralRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
LeHuuTien14-Oct-15 23:10
LeHuuTien14-Oct-15 23:10 
GeneralRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
Pete O'Hanlon14-Oct-15 23:13
mvePete O'Hanlon14-Oct-15 23:13 
GeneralRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
LeHuuTien14-Oct-15 23:22
LeHuuTien14-Oct-15 23:22 
GeneralRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
Pete O'Hanlon14-Oct-15 23:42
mvePete O'Hanlon14-Oct-15 23:42 
GeneralRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
LeHuuTien14-Oct-15 23:45
LeHuuTien14-Oct-15 23:45 
GeneralRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
BillWoodruff15-Oct-15 8:24
professionalBillWoodruff15-Oct-15 8:24 
AnswerRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
Gerry Schmitz15-Oct-15 9:38
mveGerry Schmitz15-Oct-15 9:38 
GeneralRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
LeHuuTien15-Oct-15 16:36
LeHuuTien15-Oct-15 16:36 
GeneralRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
Gerry Schmitz15-Oct-15 17:10
mveGerry Schmitz15-Oct-15 17:10 
GeneralRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
LeHuuTien15-Oct-15 21:49
LeHuuTien15-Oct-15 21:49 
GeneralRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
Gerry Schmitz16-Oct-15 8:21
mveGerry Schmitz16-Oct-15 8:21 
QuestionRead Records then Count Pin
macca2414-Oct-15 3:52
macca2414-Oct-15 3:52 
AnswerRe: Read Records then Count Pin
Richard MacCutchan14-Oct-15 5:01
mveRichard MacCutchan14-Oct-15 5:01 
AnswerRe: Read Records then Count Pin
Pete O'Hanlon14-Oct-15 5:09
mvePete O'Hanlon14-Oct-15 5:09 
SuggestionRe: Read Records then Count Pin
Richard Deeming14-Oct-15 5:24
mveRichard Deeming14-Oct-15 5:24 
GeneralRe: Read Records then Count Pin
Eddy Vluggen14-Oct-15 6:35
professionalEddy Vluggen14-Oct-15 6:35 
GeneralRe: Read Records then Count Pin
Pete O'Hanlon14-Oct-15 7:43
mvePete O'Hanlon14-Oct-15 7:43 
AnswerRe: Read Records then Count Pin
OriginalGriff14-Oct-15 5:16
mveOriginalGriff14-Oct-15 5:16 
SuggestionRe: Read Records then Count Pin
Matt T Heffron14-Oct-15 7:52
professionalMatt T Heffron14-Oct-15 7:52 
GeneralRe: Read Records then Count Pin
OriginalGriff14-Oct-15 8:02
mveOriginalGriff14-Oct-15 8:02 
GeneralRe: Read Records then Count Pin
macca2414-Oct-15 22:18
macca2414-Oct-15 22:18 
I should have said I am trying to do this using LINQ:

I have a 20 records in a database table. Each record has and ID. I want to read a field in each record fieldA. I only want to read the records that have an ID '1'. For each record that has an ID '1' and fieldA Is Not Null I want to return a count of those records.
So if 10 records have data in fieldA and have ID '1' then my count for fieldA will be 10.

Anyone know how to do this in Linq?
GeneralRe: Read Records then Count Pin
Agent__00714-Oct-15 22:56
professionalAgent__00714-Oct-15 22:56 
GeneralRe: Read Records then Count Pin
Richard Deeming15-Oct-15 2:43
mveRichard Deeming15-Oct-15 2:43 

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.