bdwise,
If you do one of those you'll have to add it on.
Like this:
Response.Redirect("pagetwo.aspx?" & Request.Querystring)
Which would pass the entire query string, from whatever page you are
transferring from, to page two.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
Free code library at:
www.aboutfortunate.com
"Out of chaos comes order."
Nietzche
"bdwise" <br************@hotmail.com> wrote in message
news:59**************************@posting.google.c om...
But what if I do a Response.Redirect or Server.Transfer from a
codebehind? The querystring would get lost.
.Net keeps the query string on every page during post backs for you. So
all you'll have to do is add the query string on to any links on your page
and also tack it on to any Response.Redirects and you're done.
Just add it on as: "mypage.aspx?" & Request.Querystring.ToString