C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » Windows »

Passing the parameters from one page to other page on windows


Posted Date: 03 Nov 2009      Posted By: rameshgoudd      Member Level: Gold     Points: 1   Responses: 3



hi all,

how can i passthe parameters from one page to other page on windows vb.net?

rameshgoudd
know about sharepoint





Responses

Author: K'ran    03 Nov 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

hi

by using Static Variable you can do that

Kiran Kumar Koyelada



Author: venkatesan    03 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Either use Static or Application variable to pass the value to another page.

Regards,
M.Venkatesan.
Dot Net Code Snippets



Author: yugandherReddy    10 Nov 2009Member Level: BronzeRating: 2 out of 52 out of 5     Points: 2

Have some Properties in second page(form) and before invoking the second page from first page set those properties.

Ex:

//Second page
public class Form2:Form
{
public string Name {get;set;}
Public string ID {get;set;}
}

public class Form1 :Form
{
private void button1_Click(object sender, EventArgs e)
{
Form2 newForm = new Form2();
newForm.Name = "Yugandher";
newForm.ID= "IN050149";
newForm.Show();
//apparently you can use the values in second form.
}
}



Post Reply
You must Sign In to post a response.
Next : Open files
Previous : How to add image in tooltip [windows forms]
Return to Discussion Forum
Post New Message
Category: Windows

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use