<NOLAYER><IFRAME border=0 marginWidth=0 marginHeight=0 src="../about.aspx?keyword=KEY" frameBorder=no width=500 scrolling=auto height=120></IFRAME></NOLAYER>语法错误,怎么改?

解决方案 »

  1.   

    1、在aspx的Page指令结加上validateRequest=false
    2、在页面中放置两个TextBox,visiable=false
    3、TextBox2.Text=TextBox1.Text;
       TextBox1.Text+="网际浪子";
       string newstr=TextBox1.Text.Replace(TextBox2.Text,"");
       Response.Write(newstr);
      

  2.   

    NOLAYER是什么?
    IFRAME沒有border屬性
      

  3.   

    对不起,忘了一点,你要先将你的那些html 代码在设计时设为textbox的text
      

  4.   

    谢谢,网际浪子。我用的样式表。我是想把<NOLAYER><IFRAME border=0 marginWidth=0 marginHeight=0 src="../about.aspx?keyword=KEY" frameBorder=no width=500 scrolling=auto height=120></IFRAME></NOLAYER>这段代码替换为空,不让它显示!