![]() |
| ||
| Transfer data between pages Hi, I have been trying to transfer some data from one page to another but nothing seems to work. Data is not being passed to the next page. Can anyone tell me a reason why this could happen? |
| ||
| Re: Transfer data between pages If you are using the .net framework 2.0 or greater, you may want to look at the PreviousPage property of the Page object. For example, let's say you have a hidden field in your original page named hfTheHiddenField and want its value when you get the target page. You can do something like this...Control ctrl; You could also use Server.Transfer or the Request.Response objects to get values from previous pages as well. |
| ||
| Re: Transfer data between pages or use a session variable ? Session("session_name") = DATAthen get it back wherever you wish by using Session("session_name").value()then free up memory and Session.remove("session_name")(SYNTAX VB.NET) |
| ||
| Can an array of structures be passed? |
| ||
| Quote:
HI u can use querystring,session,hidden field ,cookies... |
| All times are GMT -4. The time now is 12:41 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC