开发者

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= strSess

in 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜