Click here to Skip to main content
15,890,882 members
Home / Discussions / C#
   

C#

 
QuestionEnsureVisible for Panel Pin
Greeky29-Dec-05 20:50
Greeky29-Dec-05 20:50 
QuestionHow to add IP address in Connection String ???? Pin
Abubakarsb29-Dec-05 20:43
Abubakarsb29-Dec-05 20:43 
AnswerRe: How to add IP address in Connection String ???? Pin
imsathy29-Dec-05 20:55
imsathy29-Dec-05 20:55 
GeneralRe: How to add IP address in Connection String ???? Pin
Dave Kreskowiak30-Dec-05 4:26
mveDave Kreskowiak30-Dec-05 4:26 
QuestionQuestion about Office programing Pin
TofuBug2429-Dec-05 20:37
TofuBug2429-Dec-05 20:37 
QuestionHow to use IP address in Connection String Pin
Abubakarsb29-Dec-05 20:24
Abubakarsb29-Dec-05 20:24 
AnswerRe: How to use IP address in Connection String Pin
Guffa30-Dec-05 2:54
Guffa30-Dec-05 2:54 
QuestionObject reference not set to an instance of an object. Pin
ckruger29-Dec-05 20:24
ckruger29-Dec-05 20:24 
If I call it like this within the same class it works fine...
private void Page_Load(object sender, System.EventArgs e)<br />
		{<br />
			tb1.Text = "text 1";<br />
			dtStartDate.Value = "11 Dec 2005";<br />
			<br />
			GetDate();<br />
			<br />
		}<br />
<br />
		public void GetDate()<br />
		{<br />
			test_string = dtStartDate.Value;<br />
		}


But if I call GetDate() from another Web Form ( NOT THE test class)it gives an error ... see code:

test t = new test();<br />
<br />
	t.GetDate();


test is the class where the GetDate function is located
AnswerRe: Object reference not set to an instance of an object. Pin
imsathy29-Dec-05 22:32
imsathy29-Dec-05 22:32 
Questionchange foreColor Pin
abalfazl29-Dec-05 19:50
abalfazl29-Dec-05 19:50 
AnswerRe: change foreColor Pin
VPMahank30-Dec-05 4:10
VPMahank30-Dec-05 4:10 
Questionprotected string to public static string Pin
ckruger29-Dec-05 19:14
ckruger29-Dec-05 19:14 
AnswerRe: protected string to public static string Pin
imsathy29-Dec-05 20:09
imsathy29-Dec-05 20:09 
Questionwant to open a single copy of a form on a event Pin
imsathy29-Dec-05 19:00
imsathy29-Dec-05 19:00 
AnswerRe: want to open a single copy of a form on a event Pin
Maqsood Ahmed29-Dec-05 20:29
Maqsood Ahmed29-Dec-05 20:29 
GeneralRe: want to open a single copy of a form on a event Pin
imsathy29-Dec-05 20:44
imsathy29-Dec-05 20:44 
Questionhow can i call hook function to a specified window , if the window is activated ...? Pin
pradpb99929-Dec-05 18:18
pradpb99929-Dec-05 18:18 
Questionlogin window Pin
picasso229-Dec-05 12:47
picasso229-Dec-05 12:47 
QuestionOLDB CONNECTION Pin
faviochilo29-Dec-05 12:05
faviochilo29-Dec-05 12:05 
QuestionCreating similar Forms Pin
rnvrnv29-Dec-05 11:17
rnvrnv29-Dec-05 11:17 
AnswerRe: Creating similar Forms Pin
Michael Flanakin29-Dec-05 12:35
Michael Flanakin29-Dec-05 12:35 
GeneralRe: Creating similar Forms Pin
rnvrnv29-Dec-05 21:47
rnvrnv29-Dec-05 21:47 
AnswerRe: Creating similar Forms Pin
Michael Flanakin31-Dec-05 6:51
Michael Flanakin31-Dec-05 6:51 
GeneralRe: Creating similar Forms Pin
rnvrnv2-Jan-06 2:47
rnvrnv2-Jan-06 2:47 
AnswerRe: Creating similar Forms Pin
Michael Flanakin3-Jan-06 2:12
Michael Flanakin3-Jan-06 2:12 

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.