| Author: K'ran 03 Nov 2009 | Member Level: Gold | Rating:  Points: 2 |
hi
by using Static Variable you can do that
Kiran Kumar Koyelada
|
| Author: venkatesan 03 Nov 2009 | Member Level: Diamond | Rating:  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 2009 | Member Level: Bronze | Rating:  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. } }
|