Click here to Skip to main content
15,880,891 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to transfer variable or text box value to next form or create a global value.
How can i do that?
Posted
Updated 19-Nov-13 11:22am
v2
Comments
Sergey Alexandrovich Kryukov 19-Nov-13 17:14pm    
Not clear. I would say, does not seem to make any sense. And please don't shout. (ALL CAPS is considered shouting on the Web, pretty rude.)
And there are not "global values" in .NET.
—SA
R Magon 19-Nov-13 17:15pm    
Please be a little more descriptive.
Maciej Los 19-Nov-13 17:22pm    
Shouting removed. Please, do not SHOUT!
Using only capitals is treated as shouting.

1 solution

Exactly how to do it isn't difficult, but how you do it depends on the relationship between the forms.
See the appropriate one of these:
Transferring information between two forms, Part 1: Parent to Child[^]
Transferring information between two forms, Part 2: Child to Parent[^]
Transferring information between two forms, Part 3: Child to Child[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900