msnews.microsoft.com
2/9/2004 5:51:00 PM
Session.Add("tmpStartDate",calStartDate.SelectedDate);
"DaMan" <mail@kyndall.com> wrote in message
news:ePnKHAz7DHA.3804@tk2msftngp13.phx.gbl...
> I dont know how to do that..
>
> "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
> >
> >
>
>