[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

msnews.microsoft.com

2/9/2004 5:01:00 PM

Have you tried using the session or is that out of bounds for you.
"DaMan" <mail@kyndall.com> wrote in message
news:Om%23RRuy7DHA.3420@TK2MSFTNGP11.phx.gbl...
> I need to transfer data between pages, I tried this, but the value
displayed
> is "YYYYDDMM" instead of the actual date. Any ideas. Thanks..
> in Search.ASPX
>
> Context.Items.Add("tmpStartDate", Format(calStartDate.SelectedDate.Year,
> "YYYY") & Format(calStartDate.SelectedDate.Month, "MM") &
> Format(calStartDate.SelectedDate.Day, "DD"))
>
> Server.Transfer("Results.aspx")
> Response.Redirect("Resluts.aspx", True)
>
> In RESULTS.ASPX
> ? context.Items("tmpStartDate") in the results.aspx page yields the
string
> "YYYYMMDD", not the date
>
> Thanks
>
>