Probably a simple answer to this. In php, something like this would work fine. Why doesn't this code work? The variable "Does not exist under the current 开发者_如何学JAVAcontext".
<% string var = Page.Request.Form["DropDownList1"]; %>
<title><% Response.Write(var); %></title>
Thanks
A variable declared in a Content Control is scoped only within the Content Control
See here for an example
精彩评论