Dear Guys,
I want to pass objects between web pages created using VB.NET.
I want to create one object and use it in all tha pages of my application. So that once given value be retained.
How do i do it???? Please Explain..
Regards
Anit Bhatnagar
Printable View
Dear Guys,
I want to pass objects between web pages created using VB.NET.
I want to create one object and use it in all tha pages of my application. So that once given value be retained.
How do i do it???? Please Explain..
Regards
Anit Bhatnagar
Hay please reply......
Create a class with the desired property there. Instantiate it as Public. Simply use across all pages by calling it.
i did that. when i create object on one Webform, how do i pass it to another webForm?
I want to create an object which should hold property that i can access to various forms.
Regards
Anit
Did you Dim it Public?
USed public
Maybe you should show some code.
You should be accessing the value using something like
myObjectInstance.VariableName