QueryString problem in .aspx - prints out nothing
Posted
by user321256
on Stack Overflow
See other posts from Stack Overflow
or by user321256
Published on 2010-05-05T08:30:23Z
Indexed on
2010/05/05
8:38 UTC
Read the original article
Hit count: 254
I need to print out the querystring value "?type=xxx" inside my .aspx-page, why doesn't this work:
<%= Request.QueryString("type") %>
While this does:
<%= Request.QueryString(0) %>
The first prints out nothing, the second one prints out the value as expected, but it isn't always the first value I want...
Any ideas?
© Stack Overflow or respective owner