issue in Response.Write issue in .aspx page
this is my Flash file
<param name="movie" value="Flash/HomeMaster.swf?SID=<%Response.Write(strSess);%>" />
in .cs file
in i have declare an varaiable called= strSessin page load i have assisgned an value
strSess ="1234";
but when i run this page i get an error telling
the name strSess would not be fou开发者_如何转开发nd
what is the issue. an any one tell me thank you
In the cs file:
public string strSess = "1234"
In your presentation:
<param name="movie" value="Flash/HomeMaster.swf?SID=<%=strSess%>" />
Good luck with it!
Your variable needs to be public in order to be seen by the .aspx
page.
精彩评论