want to pass session of account id through href.. i tried with
`href="../Profile/Home.aspx?uid=<% =&Session("AccountId")%>"`
,但其没有工作..帮我如何通过会话变量的href
want to pass session of account id through href.. i tried with
`href="../Profile/Home.aspx?uid=<% =&Session("AccountId")%>"`
,但其没有工作..帮我如何通过会话变量的href
尝试:
href="../Profile/Home.aspx?uid=<%= Session["AccountId"] %>"
你在那里有一个多余的&。同时会话是用[]索引的,而不是()
试图摆脱&? 还要确保你有会议(“accountId”)的价值 – rlee923 2011-05-05 11:59:36
什么不工作......编译器错误,或者你有其他预期的输出?只是看着你不应该有&后=的代码。 – 2011-05-05 12:00:14