.net 1.1 introduces request validation to preventing script attacks, if you don't need it, use<%@ Page validateRequest="false"  %>or modify your web.config:<configuration> 
  <system.web> 
    <pages validateRequest="false" /> 
  </system.web> 
</configuration> 
see
http://www.asp.net/faq/requestvalidation.aspx

解决方案 »

  1.   

    but i want use "Response.QuerySring("ID")", is it problem ??有得到你的帮助了,
    这几天小弟参加学校的网站设计比赛,出了不少问题,,解决了不少很是高兴,,尤其是这么完了大哥还给小弟帮忙,实在感激不尽,还有一个问题就是 上面那个得到 id 的值怎么不行,不用打开什么把,像你说的validateRequest="false" ,,不影响吧,不过这个我可以试试,,还有就是,我想做一个 通过 Textbox 写好文章或粘贴人家的文章写到库里,让后取出来让大家开,因为涉及到 文本在页面中占的宽度,,如果不手动 回车换行的话,textbox 不会自己给加上来限制宽度,,所以很麻烦,,怎么设计一下就可以存到库里的时候就格式好了,,我说清楚了吧,,
    对了即使我从库中取出写到的地方是用表格宽度限制的(在iframe文件 也有宽度),可是虽没有水平滚动条依然在行尾有内容,,用鼠标选取一行字到尾的时候还会出现,,很麻烦,,请指教
      

  2.   

    嗯,第一个问题解决了,,是validateRequest="false" 的事,,
      

  3.   

    1. when  you display the 文本, use
    <pre>
    your文本here
    </pre>2. learn from CSDN, use <textarea> to display the 文本, and use a stylsheet like<style>
    textarea.content
    {
    font-family:Fixedsys &Euml;&Icirc;&Igrave;&aring;;
    behavior:url('http://expert.csdn.net/Expert/xsl/tacontent1.htc');
    }
    </style>3. manually process your 文本string s = "...........";
    s = s.Replace("\r\n","<BR>");
    s = s.Replace(" ","&nbsp;");
    ....
      

  4.   

    i know 2 and 3 ,pre what ??找了 msdn 没有相关,,
      

  5.   

    <pre>
    your文本here
    </pre>应放到那里,, 这样 ?? "<pre>"+TextBox.Text+"</pre>"  然后将之存库???我想再存库前就格式化好,,直接用 label 取出显示就是格式化好的,,不好吗 ??
      

  6.   

    sure, it is up to you, but storing presentation information in a data field sounds like a bad idea to me
      

  7.   

    what is your idea sounds like good to you ???