Win Surprise Gifts!!!
Post New Question
Subscribe to Forum
carry value from one form to another form
March 21, 2011
i have two forms form1 and form2
i wann carry form1 textbox string to form2 textbox without using static key
thnx in advance
Posted Date: March 21, 2011 Points: 20
Checkout the link below.
Hope this helps.
Posted Date: March 22, 2011 Points: 20
first take one string s1 in your form2,den make an object of form 2 in form 1 like
form2 f2=new form2();
//then directly in your string s1 the textbox1 value wil come den show it on your form2 textbox
Software Programmer At OTIS ISRC
Posted Date: March 23, 2011 Points: 20
Try using Modules... With this you can easily pass values between forms in win app
Mark as Answer if the answer solves your issue!!!
Posted Date: March 29, 2011 Points: 20
You can use constructor for this purpose
on form2 declare
public form2(string x)
dim objform2 as new form2
To post reply
Related Questions Related Questions
Windows application Form Focus in C#.NET
Can we use Web form controls in window form of Windows application
How to fix a form unmovable within a specify panel
After Logon How to Move to MDI form....
one project are work in two member we are divide equal form we are join this form to one to copy to form dost not copy to form many time try to way but cannot copy how its copy or join for two form ?
how can i pass value one form to another form
About get all Controls in a form
What are the Concepts required in creating a Login Form
ASP.NET web application - Serverside validation of form field's data
how to set the default enter key to submit form
Latest Forum Questions From The Same Category
database is read-only.
editor for visual basic with c#.net
How to get phone number in .Net windows application?
while accessing method from proxy giving an unauthorized access
How to make search between two dates accept null not obligatory search proplem
Create a Windows form application using Excel as database..
Recieve Data From Serial Com Port C# In One Line And Convert To integer
display parent data and child data as a row group in one datagridview using c# winform
enter key event in windows app c#.net
windows appplication c#.net
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend