G
Guest
How can I save values in Query String Could u please give me example. I
don't want to save as using Response.redirec
don't want to save as using Response.redirec
How can I save values in Query String Could u please give me example. I
don't want to save as using Response.redirec
Actually I want to check weather my querystring is empty or not.
if (Request.QueryString["Token"] != null && Request.QueryString["Token"]
!= "")
But I want to put value in Querstring e.g in Token ="ABC" If I use this
Response.Redirect("Admin.aspx?Token=" + "ABC"); then before testing that if
it is null or not it is redirecting me to Admin.aspx page. I just want to
save that value in code behind and want to chect if it is null or not
Peter Bromberg said:Bobby,
your post is unclear. Do you want an example of how to put values on a
querystring? Or do you want to retrieve the values on the querystring in the
target requested page? Request.QueryString is a NameValueCollection object in
ASP.NET.
Peter
--
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com