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

C#

 
GeneralRe: Thread and problem Pin
papa198011-May-06 19:48
papa198011-May-06 19:48 
GeneralRe: Thread and problem Pin
mav.northwind11-May-06 20:33
mav.northwind11-May-06 20:33 
QuestionWMI SQL Pin
krieg3811-May-06 18:55
krieg3811-May-06 18:55 
QuestionHow to show multiple application forms in the same container using CAB Pin
narasimha peta11-May-06 18:19
narasimha peta11-May-06 18:19 
QuestionRealy ORGENT questions Pin
NaNg1524111-May-06 17:55
NaNg1524111-May-06 17:55 
QuestionBasic C# - Object Reference Not Set To Instance of An Object Pin
kayos59211-May-06 17:18
kayos59211-May-06 17:18 
AnswerRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
alexey N11-May-06 17:31
alexey N11-May-06 17:31 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
kayos59211-May-06 17:48
kayos59211-May-06 17:48 
Interestingly I just figured it out prior to your posting...HOWEVER....now, I'm having problems accessing the values... I'm checking the values in my immediate window and they are populating fine.... I have a function that I'm passing a parameter (the id) so I can produce the correct values in my testbox.... (see code below)....

However, I'm not getting an error....I'm just getting a 0 in my first field....any help is greatly appreciated....

<br />
private void ShowPatient(int id)<br />
{<br />
	Patient PatientData = new Patient();<br />
	txt1.Text = PatientData.id[id].ToString();<br />
	txt2.Text = PatientData.Lname[id];<br />
	txt3.Text = PatientData.Fname[id];<br />
	txt4.Text = PatientData.Mname[id];			<br />
}<br />


Thank you again...

-Kay
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
alexey N11-May-06 17:55
alexey N11-May-06 17:55 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
kayos59211-May-06 18:10
kayos59211-May-06 18:10 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
kayos59211-May-06 18:28
kayos59211-May-06 18:28 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
mav.northwind11-May-06 20:39
mav.northwind11-May-06 20:39 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
kayos59212-May-06 4:04
kayos59212-May-06 4:04 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
Office Lineman12-May-06 6:51
Office Lineman12-May-06 6:51 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
kayos59212-May-06 11:35
kayos59212-May-06 11:35 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
Office Lineman12-May-06 11:49
Office Lineman12-May-06 11:49 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
kayos59213-May-06 13:48
kayos59213-May-06 13:48 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
Office Lineman14-May-06 3:51
Office Lineman14-May-06 3:51 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
alexey N11-May-06 18:29
alexey N11-May-06 18:29 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
kayos59211-May-06 18:31
kayos59211-May-06 18:31 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
Pavel Vladov11-May-06 21:29
Pavel Vladov11-May-06 21:29 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
kayos59212-May-06 3:48
kayos59212-May-06 3:48 
GeneralRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
Pavel Vladov12-May-06 8:07
Pavel Vladov12-May-06 8:07 
AnswerRe: Basic C# - Object Reference Not Set To Instance of An Object Pin
nikeshkumar11-May-06 19:19
nikeshkumar11-May-06 19:19 
QuestionLoopBack Pin
picasso211-May-06 15:29
picasso211-May-06 15:29 

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.