Click here to Skip to main content
15,346,659 members
Home / Discussions / C#
   

C#

 
AnswerRe: Draggable dynamic controls Pin
Kenneth Haugland1-Oct-12 0:59
mvaKenneth Haugland1-Oct-12 0:59 
GeneralRe: Draggable dynamic controls Pin
Shashank Srivastava1)1-Oct-12 1:08
MemberShashank Srivastava1)1-Oct-12 1:08 
GeneralRe: Draggable dynamic controls Pin
Shashank Srivastava1)1-Oct-12 2:07
MemberShashank Srivastava1)1-Oct-12 2:07 
GeneralRe: Draggable dynamic controls Pin
Pete O'Hanlon1-Oct-12 3:56
mvaPete O'Hanlon1-Oct-12 3:56 
QuestionRead structured text file to listview in C #? Pin
Member 245846730-Sep-12 23:10
MemberMember 245846730-Sep-12 23:10 
AnswerRe: Read structured text file to listview in C #? Pin
Smart Arab30-Sep-12 23:19
MemberSmart Arab30-Sep-12 23:19 
AnswerRe: Read structured text file to listview in C #? Pin
Eddy Vluggen1-Oct-12 1:01
professionalEddy Vluggen1-Oct-12 1:01 
QuestionC# linq issue Pin
classy_dog30-Sep-12 20:00
Memberclassy_dog30-Sep-12 20:00 
I have a C# 2010 application that I would like to add the following lines of code:
eDataContext rData = new eDataContext();
DateTime complete_date = (DateTime)(from a in rData.cust
                          where a.PkID == pkId
                          select a.Complete_Date).FirstOrDefault();
if (complete_date != null)

The linq statement where DateTime complete_date is assigned a value works.
However when I try to executed the line of code
(complete_date != null),

the program has a problem on this line of code. I found this out by stepping though the code.

Thus can you tell me why the
"if (complete_date != null)" line of code is having a problem? Also can you tell me what to do to solve the problem?
AnswerRe: C# linq issue Pin
Pete O'Hanlon30-Sep-12 20:15
mvaPete O'Hanlon30-Sep-12 20:15 
AnswerRe: C# linq issue Pin
DaveyM6930-Sep-12 22:54
professionalDaveyM6930-Sep-12 22:54 
AnswerRe: C# linq issue Pin
John Brett2-Oct-12 6:14
MemberJohn Brett2-Oct-12 6:14 
QuestionHow to store string queries in c# function Pin
nitin_ion30-Sep-12 17:52
Membernitin_ion30-Sep-12 17:52 
AnswerRe: How to store string queries in c# function Pin
Pete O'Hanlon30-Sep-12 19:33
mvaPete O'Hanlon30-Sep-12 19:33 
QuestionC# 2008 update sql server table Pin
dcof30-Sep-12 14:19
Memberdcof30-Sep-12 14:19 
QuestionQuartzTypeLib and subtitles Pin
audaijihad30-Sep-12 6:22
Memberaudaijihad30-Sep-12 6:22 
AnswerRe: QuartzTypeLib and subtitles Pin
Ravi Bhavnani30-Sep-12 6:47
professionalRavi Bhavnani30-Sep-12 6:47 
GeneralRe: QuartzTypeLib and subtitles Pin
audaijihad30-Sep-12 11:33
Memberaudaijihad30-Sep-12 11:33 
QuestionUpdating a Label in 2 forms simultaneously Pin
CSharpNewbie 229-Sep-12 21:37
MemberCSharpNewbie 229-Sep-12 21:37 
AnswerRe: Updating a Label in 2 forms simultaneously Pin
Smart Arab29-Sep-12 22:40
MemberSmart Arab29-Sep-12 22:40 
AnswerRe: Updating a Label in 2 forms simultaneously Pin
Dave Kreskowiak30-Sep-12 3:01
mveDave Kreskowiak30-Sep-12 3:01 
GeneralRe: Updating a Label in 2 forms simultaneously Pin
CSharpNewbie 230-Sep-12 12:20
MemberCSharpNewbie 230-Sep-12 12:20 
AnswerRe: Updating a Label in 2 forms simultaneously Pin
Emdad_54821-Oct-12 1:44
MemberEmdad_54821-Oct-12 1:44 
QuestionC# check for null in linq Pin
dcof29-Sep-12 9:05
Memberdcof29-Sep-12 9:05 
AnswerRe: C# check for null in linq Pin
Richard MacCutchan29-Sep-12 21:45
mveRichard MacCutchan29-Sep-12 21:45 
QuestionEncrypt text file in C# Pin
gibsray29-Sep-12 7:09
Membergibsray29-Sep-12 7:09 

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.