关于前台C#代码的一个小问题.
<script language= "C# " runat= "server ">
public void test()
{
Response.Write( " <script> alert( '哪里出错了???? '); </script> ");
}
</script>
这是写在网页前台的一段代码.
编译错误: 常量中有换行符.
...在线等...
[解决办法]
Response.Write( " <script language= 'javascript '> alert( 'aaa '); < "+ " "+ "/script> ");