I have spent well over a 100 hours trying to get the data from one page to display on another page. At http://www.asp.net/web-forms/tutorials/getting-started-with-ef/the-entity-framework-and-aspnet-getting-started-part-4, the page displays "courses" and
"course details" on the same page. Would someone tell me how to get the same results, but, have the "course details" display on a separate page from "courses"?
How about passing the value of the course to another page that can pull up the details or setting a session variable with the course for the other page to use. Seems like this should be easy too
I don't understand why after you help someone, they don't mark your post as the answer. What's up with that???
A general Idea is that you can just put a hyperlink or a common link (the data nested inside may be something like http://www.……?id=1), and then when someone clicks the link, it will directly guid the user to another new page, in the new page you should
do to accept the value through Request.QueryString("id") and cope with the problem.
You can use QueryStringParameter to cope with the problem, too. For more you can refer to this:
EarlDavis1
0 Points
8 Posts
Data display on separate page
Nov 30, 2012 02:59 PM|LINK
I have spent well over a 100 hours trying to get the data from one page to display on another page. At http://www.asp.net/web-forms/tutorials/getting-started-with-ef/the-entity-framework-and-aspnet-getting-started-part-4, the page displays "courses" and "course details" on the same page. Would someone tell me how to get the same results, but, have the "course details" display on a separate page from "courses"?
javedwahid
Participant
1687 Points
471 Posts
Re: Data display on separate page
Nov 30, 2012 11:37 PM|LINK
How about passing the value of the course to another page that can pull up the details or setting a session variable with the course for the other page to use. Seems like this should be easy too
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Data display on separate page
Dec 01, 2012 03:54 AM|LINK
Hi,
A general Idea is that you can just put a hyperlink or a common link (the data nested inside may be something like http://www.……?id=1), and then when someone clicks the link, it will directly guid the user to another new page, in the new page you should do to accept the value through Request.QueryString("id") and cope with the problem.
You can use QueryStringParameter to cope with the problem, too. For more you can refer to this:
http://www.exforsys.com/tutorials/asp.net-2.0/displaying-master-detail-data-on-separate-pages-in-asp.net-2.0.html
EarlDavis1
0 Points
8 Posts
Re: Data display on separate page
Dec 01, 2012 05:41 PM|LINK
Decker, thank you very much for the assistance. The link you provided gave me the exact information I needed. Again, thanks a million.