<iframe src='<% response.write(st_str_pop_link1); %>' name=sc_frame width="739" height="600" marginwidth="0" marginheight="0" scrolling="auto" frameborder=0> 运行这个代码时提示:编译器错误消息: CS0103: 当前上下文中不存在名称“response”请问这个怎么解决?
请详细一些,谢谢~
请详细一些,谢谢~
<iframe runat="iframe1"></iframe>
后台赋值。。 iframe1.src="*****";
这么写后错误题示:
编译器错误消息: CS0103: 当前上下文中不存在名称“st_str_pop_link1”
Reponse.Write("ddddd");
=st_str_pop_link1 =st_str_pop_link1 时要声明这个变量.在后台.
Response.Write
一般JS控制跳转
publi string st_str_pop_link1 {get;set;}
在后台先定义。