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

C#

 
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 
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 
How can i use the protected string (TextBox.Text) inside the public static function?

I get the following error on the return statement:
MyWebForm.test.tb1' denotes a 'field' where a 'class' was expected

public class test : System.Web.UI.Page<br />
	{<br />
		protected System.Web.UI.WebControls.TextBox tb1;<br />
	<br />
		private void Page_Load(object sender, System.EventArgs e)<br />
		{<br />
<br />
		}<br />
<br />
		public static string GetDate()<br />
		{<br />
			return tb1;<br />
		}

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 
QuestionPrinting - can&#180;t print a second page Pin
naglbitur29-Dec-05 8:13
naglbitur29-Dec-05 8:13 
AnswerRe: Printing - can&amp;amp;amp;amp;#180;t print a second page Pin
peshkunta29-Dec-05 9:44
peshkunta29-Dec-05 9:44 
GeneralRe: Printing - can&amp;amp;amp;amp;amp;#180;t print a second page Pin
naglbitur29-Dec-05 9:59
naglbitur29-Dec-05 9:59 
GeneralRe: Printing - can&amp;amp;amp;amp;amp;#180;t print a second page Pin
naglbitur29-Dec-05 10:07
naglbitur29-Dec-05 10:07 

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.