Welcome to Dream.In.Code
Become a C# Expert!

Join 136,935 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 1,846 people online right now. Registration is fast and FREE... Join Now!




Asp .net with C# coding

 
Reply to this topicStart new topic

Asp .net with C# coding

vicky_sns
1 Apr, 2008 - 10:30 PM
Post #1

New D.I.C Head
*

Joined: 1 Apr, 2008
Posts: 1

i want to know how to display the content of one textbox of one form to the textbox of another fom
User is offlineProfile CardPM
+Quote Post

zakary
RE: Asp .net With C# Coding
2 Apr, 2008 - 05:15 AM
Post #2

D.I.C Regular
Group Icon

Joined: 15 Feb, 2005
Posts: 406



Thanked: 6 times
Dream Kudos: 175
My Contributions
pass textbox.Text to the second form by creating a method that takes a string parameter and in that method set second form textbox.Text to the string value you passed.
User is offlineProfile CardPM
+Quote Post

eclipsed4utoo
RE: Asp .net With C# Coding
5 Apr, 2008 - 11:19 AM
Post #3

D.I.C Regular
Group Icon

Joined: 21 Mar, 2008
Posts: 375



Thanked: 19 times
Dream Kudos: 25
My Contributions
create a constructor for the second form that accepts a string parameter. then pass the string from the first form to the second form.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 10:45PM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month