Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

Transfer data from and to asp.net pages

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hans - 24 Feb 2008 21:18 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.