Click here to Skip to main content
16,004,927 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get the IP from HttpWebRequest Pin
Justin Garrick27-Oct-04 15:43
Justin Garrick27-Oct-04 15:43 
GeneralRe: Get the IP from HttpWebRequest Pin
Nick Parker27-Oct-04 17:12
protectorNick Parker27-Oct-04 17:12 
GeneralRe: Get the IP from HttpWebRequest Pin
Heath Stewart27-Oct-04 21:07
protectorHeath Stewart27-Oct-04 21:07 
QuestionC# on Linux...?!? Pin
QzRz27-Oct-04 7:24
QzRz27-Oct-04 7:24 
AnswerRe: C# on Linux...?!? Pin
Alex Korchemniy27-Oct-04 7:39
Alex Korchemniy27-Oct-04 7:39 
GeneralRe: C# on Linux...?!? Pin
QzRz27-Oct-04 7:43
QzRz27-Oct-04 7:43 
Generalupdating using a dataset. Pin
steve_rm27-Oct-04 7:13
steve_rm27-Oct-04 7:13 
GeneralRe: updating using a dataset. Pin
Hugo Migneron27-Oct-04 7:49
Hugo Migneron27-Oct-04 7:49 
Hello,
I think it is because you don't initialize your drUpdateTeacher object.
Try to do :
daTeacher.FillSchema(dsTeacher, SchemaType.Source, "Teacher");
//Code to add
drUpdateTeacher = dsTeacher.Tables["Teacher"].NewRow();

drUpdateTeacher = dsTeacher.Tables["Teacher"].Rows.Find(txtTeacherID.Text);//Find the row to update

This would be my first guess.
Anyways, most of the time, this error message indicates that you did not initialize an object before you used it.

Hope this helps

GeneralRe: updating using a dataset. Pin
steve_rm27-Oct-04 14:12
steve_rm27-Oct-04 14:12 
GeneralRe: updating using a dataset. Pin
Hugo Migneron28-Oct-04 3:16
Hugo Migneron28-Oct-04 3:16 
GeneralSplash Screen Pin
mathon27-Oct-04 6:53
mathon27-Oct-04 6:53 
GeneralRe: Splash Screen Pin
Colin Angus Mackay27-Oct-04 7:20
Colin Angus Mackay27-Oct-04 7:20 
GeneralRe: Splash Screen Pin
Dave Kreskowiak27-Oct-04 11:30
mveDave Kreskowiak27-Oct-04 11:30 
GeneralManipulating cmd.exe on another pc Pin
uwgrimlock27-Oct-04 6:48
uwgrimlock27-Oct-04 6:48 
GeneralRe: Manipulating cmd.exe on another pc Pin
Nick Parker27-Oct-04 8:07
protectorNick Parker27-Oct-04 8:07 
GeneralTAPI Pin
Mridang Agarwalla27-Oct-04 5:26
Mridang Agarwalla27-Oct-04 5:26 
GeneralRe: TAPI Pin
Nick Parker27-Oct-04 8:03
protectorNick Parker27-Oct-04 8:03 
GeneralRe: TAPI Pin
Michael P Butler27-Oct-04 23:25
Michael P Butler27-Oct-04 23:25 
GeneralC# p/invoke the sendmessage(Hwnd,....) Pin
ting66827-Oct-04 5:16
ting66827-Oct-04 5:16 
GeneralRe: C# p/invoke the sendmessage(Hwnd,....) Pin
Colin Angus Mackay27-Oct-04 5:33
Colin Angus Mackay27-Oct-04 5:33 
GeneralRe: C# p/invoke the sendmessage(Hwnd,....) Pin
Nick Parker27-Oct-04 8:00
protectorNick Parker27-Oct-04 8:00 
GeneralC# showing forms problem Pin
ting66827-Oct-04 5:11
ting66827-Oct-04 5:11 
GeneralSystem.Web.Mail Pin
Hugo Migneron27-Oct-04 4:50
Hugo Migneron27-Oct-04 4:50 
GeneralRe: System.Web.Mail Pin
Salil Khedkar27-Oct-04 21:10
Salil Khedkar27-Oct-04 21:10 
GeneralRe: System.Web.Mail Pin
Heath Stewart27-Oct-04 21:13
protectorHeath Stewart27-Oct-04 21:13 

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.