Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
GeneralMessage Removed Pin
2-Sep-08 6:34
tkrn2-Sep-08 6:34 
GeneralRe: Access single executescalar value from dataset? Pin
Wendelius2-Sep-08 6:51
mentorWendelius2-Sep-08 6:51 
GeneralMessage Removed Pin
2-Sep-08 7:44
tkrn2-Sep-08 7:44 
GeneralRe: Access single executescalar value from dataset? Pin
Wendelius2-Sep-08 7:53
mentorWendelius2-Sep-08 7:53 
GeneralMessage Removed Pin
2-Sep-08 8:00
tkrn2-Sep-08 8:00 
GeneralRe: Access single executescalar value from dataset? Pin
Wendelius2-Sep-08 8:23
mentorWendelius2-Sep-08 8:23 
GeneralMessage Removed Pin
2-Sep-08 10:05
tkrn2-Sep-08 10:05 
GeneralRe: Access single executescalar value from dataset? Pin
Wendelius2-Sep-08 10:18
mentorWendelius2-Sep-08 10:18 
Possible reasons for "Object reference not set to an instance of an object." on that line are:
- this = null (not likely)
- this.tableAdapter = null, is it?
- txtToolNumber = null, is it?
- return value of (this.presetTableAdapter.ExistPreset(txtToolNumber.Text)) = null (you can see this by debugging inside the method).

If none of those are null the problem is in my understanding inside ExistPreset-method, which (I presume) is genereted by VS, but still debuggable and observable (you can see this by right clicking on the method and selecting go to definition).
QuestionDisposing generic lists Pin
kensai2-Sep-08 4:42
kensai2-Sep-08 4:42 
AnswerRe: Disposing generic lists Pin
Pete O'Hanlon2-Sep-08 5:08
mvePete O'Hanlon2-Sep-08 5:08 
AnswerRe: Disposing generic lists Pin
Daniel Grunwald2-Sep-08 5:18
Daniel Grunwald2-Sep-08 5:18 
AnswerRe: Disposing generic lists Pin
c24234-Sep-08 2:03
c24234-Sep-08 2:03 
Questionuninstall custom action Pin
lune122-Sep-08 4:28
lune122-Sep-08 4:28 
AnswerRe: uninstall custom action Pin
Bassam Saoud2-Sep-08 4:32
Bassam Saoud2-Sep-08 4:32 
GeneralRe: uninstall custom action Pin
lune122-Sep-08 4:39
lune122-Sep-08 4:39 
AnswerRe: uninstall custom action Pin
Jimmanuel2-Sep-08 5:05
Jimmanuel2-Sep-08 5:05 
QuestionCannot focus treeNode in a panel Pin
Kim06182-Sep-08 4:14
Kim06182-Sep-08 4:14 
AnswerRe: Cannot focus treeNode in a panel Pin
leppie2-Sep-08 4:23
leppie2-Sep-08 4:23 
GeneralRe: Cannot focus treeNode in a panel Pin
Kim06182-Sep-08 16:06
Kim06182-Sep-08 16:06 
QuestionProgressBar in multi-threaded application Pin
Lutosław2-Sep-08 4:03
Lutosław2-Sep-08 4:03 
AnswerRe: ProgressBar in multi-threaded application Pin
TheFM2342-Sep-08 4:18
TheFM2342-Sep-08 4:18 
AnswerRe: ProgressBar in multi-threaded application Pin
leppie2-Sep-08 4:24
leppie2-Sep-08 4:24 
GeneralRe: ProgressBar in multi-threaded application Pin
Lutosław2-Sep-08 6:12
Lutosław2-Sep-08 6:12 
AnswerRe: ProgressBar in multi-threaded application Pin
#realJSOP2-Sep-08 5:05
mve#realJSOP2-Sep-08 5:05 
GeneralRe: ProgressBar in multi-threaded application Pin
Lutosław2-Sep-08 6:09
Lutosław2-Sep-08 6: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.