Click here to Skip to main content
15,917,583 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: prevent page reload Pin
Abhijit Jana12-Apr-10 5:17
professionalAbhijit Jana12-Apr-10 5:17 
AnswerRe: prevent page reload Pin
itsravie12-Apr-10 5:45
itsravie12-Apr-10 5:45 
AnswerRe: prevent page reload Pin
jaypatel51212-Apr-10 14:55
jaypatel51212-Apr-10 14:55 
AnswerRe: prevent page reload Pin
farogh haider13-Apr-10 3:18
farogh haider13-Apr-10 3:18 
QuestionHow to get TextBox value from one class to another Pin
Sr...Frank12-Apr-10 4:12
Sr...Frank12-Apr-10 4:12 
AnswerRe: How to get TextBox value from one class to another Pin
Abhijit Jana12-Apr-10 4:39
professionalAbhijit Jana12-Apr-10 4:39 
AnswerRe: How to get TextBox value from one class to another Pin
Enobong Adahada12-Apr-10 4:48
Enobong Adahada12-Apr-10 4:48 
AnswerRe: How to get TextBox value from one class to another Pin
T M Gray12-Apr-10 9:05
T M Gray12-Apr-10 9:05 
What do you intend to do with the test class? (choose better names like MyTestClass so you don't accidentally use reserved words)

You should create a public property in your MyTestClass for the strID. (Tip: type prop and hit tab twice). Create an instance of your MyTestClass in the form load of Form2 and then you can set the TextChanged event of txtTextBox1 to set the value of that property.

You might want to do some reading on object oriented programming. From what you have written it looks like you are used to procedural programming. Try this one C# Tutorial - An Object Oriented Approach to Programming[^]
AnswerRe: How to get TextBox value from one class to another Pin
jaypatel51212-Apr-10 14:58
jaypatel51212-Apr-10 14:58 
GeneralRe: How to get TextBox value from one class to another Pin
Enobong Adahada12-Apr-10 22:01
Enobong Adahada12-Apr-10 22:01 
Questioninput type=file Pin
Morgs Morgan12-Apr-10 3:36
Morgs Morgan12-Apr-10 3:36 
AnswerRe: input type=file Pin
Viral Upadhyay12-Apr-10 3:49
Viral Upadhyay12-Apr-10 3:49 
GeneralRe: input type=file Pin
T M Gray12-Apr-10 9:11
T M Gray12-Apr-10 9:11 
GeneralRe: input type=file Pin
Morgs Morgan13-Apr-10 2:26
Morgs Morgan13-Apr-10 2:26 
QuestionHow to get a file from client server Pin
raghvendrapanda12-Apr-10 2:26
raghvendrapanda12-Apr-10 2:26 
AnswerRe: How to get a file from client server Pin
Not Active12-Apr-10 2:45
mentorNot Active12-Apr-10 2:45 
AnswerRe: How to get a file from client server Pin
T M Gray12-Apr-10 8:49
T M Gray12-Apr-10 8:49 
Questionwhen ever i press spacebar a dot is generated....... Pin
sainath43712-Apr-10 2:25
sainath43712-Apr-10 2:25 
AnswerRe: when ever i press spacebar a dot is generated....... Pin
R. Giskard Reventlov12-Apr-10 2:34
R. Giskard Reventlov12-Apr-10 2:34 
GeneralRe: when ever i press spacebar a dot is generated....... Pin
sainath43715-Apr-10 1:34
sainath43715-Apr-10 1:34 
QuestionLogical Help required with checkedlist box Pin
Girish48112-Apr-10 1:51
Girish48112-Apr-10 1:51 
AnswerRe: Logical Help required with checkedlist box Pin
Brij12-Apr-10 2:25
mentorBrij12-Apr-10 2:25 
GeneralRe: Logical Help required with checkedlist box Pin
Girish48112-Apr-10 2:54
Girish48112-Apr-10 2:54 
GeneralRe: Logical Help required with checkedlist box Pin
Brij12-Apr-10 3:17
mentorBrij12-Apr-10 3:17 
Questionhow to send email from gridview selected data Pin
developerit12-Apr-10 1:37
developerit12-Apr-10 1:37 

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.