hello folks,
I'm migrating a windows form app to a web application and i need to
transfer some data to a target page and from the target page back to
the source.
ie.
I have a web page call editor.aspx and another call open.aspx
I need to do something like this from the Editor.aspx page
Open myOpenPage = new Open()
myOpenPage.someProperty = true; // can i do this?
someControlInEditorPage = myOpenPage.SelectedItemID;
and so on... can i do this?
Also, can i have a constructor overload to receive parameters in aspx
pages?
Thanks a lot
Mark Rae [MVP] - 24 Feb 2008 23:25 GMT
> I'm migrating a windows form app to a web application and i need to
> transfer some data to a target page and from the target page back to
[quoted text clipped - 10 lines]
>
> and so on... can i do this?
Not really - WinForms and WebForms are very, very different...
http://www.google.co.uk/search?sourceid=navclient&hl=en-GB&ie=UTF-8&rlz=1T4GZEZ_
en-GBGB252GB252&q=ASP%2eNET+page+pass+parameters

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
Robbe Morris - [MVP] C# - 28 Feb 2008 17:34 GMT
You probably need to get a good ASP.NET book judging
by your post. In a web environment, you have things
like Session to store user session specific info in memory.
One way to pass information from page to page is
with the use of the Request.QueryString object.

Signature
Robbe Morris [Microsoft MVP - Visual C#]
AdvancedXL Server, Designer, and Data Analyzer
Convert cell ranges in Excel to rule driven web apps
without IT programmers.
Free download: http://www.equalssolved.com/default.aspx
> hello folks,
> I'm migrating a windows form app to a web application and i need to
[quoted text clipped - 16 lines]
>
> Thanks a lot