variable transfer

  • Thread starter Thread starter lolo aaaaa via .NET 247
  • Start date Start date
L

lolo aaaaa via .NET 247

(Type your message here)
how can i use variable transfer between different webforms in visual c#.net?
please help me
 
If you have a reference to the other form then you can access the public
method, properties and fields of that form.

e.g. If you have a public string property on Form2 called
MyPublicStringProperty then the following code from another Form would
instantiate an instance of Form2 and set this property:

Form2 f = new Form2();
f.MyPublicStringProperty = "Testing...";
 
Back
Top