Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
AnswerRe: if, else if, and else statement. Pin
Swinkaran5-Oct-14 12:36
professionalSwinkaran5-Oct-14 12:36 
AnswerRe: if, else if, and else statement. Pin
Dominic Burford8-Oct-14 4:09
professionalDominic Burford8-Oct-14 4:09 
QuestionMessage Removed Pin
5-Oct-14 2:36
fatemehsoleimani5-Oct-14 2:36 
QuestionSystem.NullReferenceException DataGrid WPF Pin
smgetaweh4-Oct-14 6:18
smgetaweh4-Oct-14 6:18 
AnswerRe: System.NullReferenceException DataGrid WPF Pin
Dave Kreskowiak4-Oct-14 7:22
mveDave Kreskowiak4-Oct-14 7:22 
GeneralRe: System.NullReferenceException DataGrid WPF Pin
smgetaweh4-Oct-14 7:40
smgetaweh4-Oct-14 7:40 
GeneralRe: System.NullReferenceException DataGrid WPF Pin
SledgeHammer014-Oct-14 8:57
SledgeHammer014-Oct-14 8:57 
AnswerRe: System.NullReferenceException DataGrid WPF Pin
Praneet Nadkar5-Oct-14 19:58
Praneet Nadkar5-Oct-14 19:58 
Hi,

Put a debugger on try{} and see the values in the list. See the quick watch where you are getting null. Check if the FieldNames used for GridColumns in the xaml are same as the names in the list. For example, your list has fields like Id, Name then the GridColumn field names should also be Id and Name.

Please revert in case you find something.

Regards,
Praneet
GeneralRe: System.NullReferenceException DataGrid WPF Pin
smgetaweh6-Oct-14 4:44
smgetaweh6-Oct-14 4:44 
QuestionDisabling a Row of Data Grid View on Send Mail Button click Pin
AMRITESH ASTHANA3-Oct-14 20:40
AMRITESH ASTHANA3-Oct-14 20:40 
AnswerRe: Disabling a Row of Data Grid View on Send Mail Button click Pin
Richard MacCutchan3-Oct-14 21:40
mveRichard MacCutchan3-Oct-14 21:40 
GeneralRe: Disabling a Row of Data Grid View on Send Mail Button click Pin
AMRITESH ASTHANA6-Oct-14 2:46
AMRITESH ASTHANA6-Oct-14 2:46 
QuestionAny fast way to get the stack trace? Pin
SledgeHammer013-Oct-14 15:59
SledgeHammer013-Oct-14 15:59 
AnswerRe: Any fast way to get the stack trace? Pin
fengyuancom3-Oct-14 18:13
fengyuancom3-Oct-14 18:13 
AnswerRe: Any fast way to get the stack trace? Pin
Pete O'Hanlon4-Oct-14 0:55
mvePete O'Hanlon4-Oct-14 0:55 
AnswerRe: Any fast way to get the stack trace? Pin
Dave Kreskowiak4-Oct-14 3:36
mveDave Kreskowiak4-Oct-14 3:36 
GeneralRe: Any fast way to get the stack trace? Pin
SledgeHammer014-Oct-14 6:02
SledgeHammer014-Oct-14 6:02 
GeneralRe: Any fast way to get the stack trace? Pin
Dave Kreskowiak4-Oct-14 7:17
mveDave Kreskowiak4-Oct-14 7:17 
GeneralRe: Any fast way to get the stack trace? Pin
SledgeHammer014-Oct-14 12:36
SledgeHammer014-Oct-14 12:36 
GeneralRe: Any fast way to get the stack trace? Pin
Dave Kreskowiak4-Oct-14 12:42
mveDave Kreskowiak4-Oct-14 12:42 
GeneralRe: Any fast way to get the stack trace? Pin
SledgeHammer014-Oct-14 14:08
SledgeHammer014-Oct-14 14:08 
GeneralRe: Any fast way to get the stack trace? Pin
Dave Kreskowiak4-Oct-14 18:52
mveDave Kreskowiak4-Oct-14 18:52 
QuestionTextarea not able insert large text Pin
sreekanth.jonna3-Oct-14 10:48
sreekanth.jonna3-Oct-14 10:48 
SuggestionRe: Textarea not able insert large text Pin
George Jonsson5-Oct-14 15:04
professionalGeorge Jonsson5-Oct-14 15:04 
QuestionNeed to send an email 20 minutes before the event time Pin
VladFromNYC3-Oct-14 9:48
VladFromNYC3-Oct-14 9:48 

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.