Click here to Skip to main content
15,921,295 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I make Form 1 it have textbox



and I make Form 2 it have button 1
I need when I click the button 1 show the textbox from Form 1 in Form 2
Posted

As the question turned out to be very popular, and my previous answers often were not well understood, probably were not clear enough, I decided to write a Tips/Trick article complete with detailed code samples and explanations: Many Questions Answered at Once — Collaboration between Windows Forms or WPF Windows.

Please read. Your follow-up questions will be welcome.

—SA
 
Share this answer
 
v2
use server.transfer in the form 2 page as it will show the content of form 1 page in the form 2 page.

syntax: Server.Transfer("Form1.aspx");



Regards,

Debasis Kundu
 
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