前台代码如下
<TABLE cellSpacing="1"cellPadding="1" width="100%" border="1">
<TR>
<TD><script type="text/javascript">
<!--
var oFCKeditor = new FCKeditor( 'tbText' ) ;
oFCKeditor.BasePath= '/fckeditor/' ;
oFCKeditor.Height=350;
oFCKeditor.Value='<%=strText%>' ;
oFCKeditor.Create() ;
//-->
</script>
</TD>
</TR>
<TR>
<TD><asp:Button id="Button1" runat="server" Text="Button"></asp:Button>
</TD>
</TR>
</TABLE>
strText是一个public型的string变量
button1对应的代码只有一句
strText=Request.Form["tbText"];
为什么总是报错呢?老显示未结束的字符串变量,求救!!!!!!!!!!
<TABLE cellSpacing="1"cellPadding="1" width="100%" border="1">
<TR>
<TD><script type="text/javascript">
<!--
var oFCKeditor = new FCKeditor( 'tbText' ) ;
oFCKeditor.BasePath= '/fckeditor/' ;
oFCKeditor.Height=350;
oFCKeditor.Value='<%=strText%>' ;
oFCKeditor.Create() ;
//-->
</script>
</TD>
</TR>
<TR>
<TD><asp:Button id="Button1" runat="server" Text="Button"></asp:Button>
</TD>
</TR>
</TABLE>
strText是一个public型的string变量
button1对应的代码只有一句
strText=Request.Form["tbText"];
为什么总是报错呢?老显示未结束的字符串变量,求救!!!!!!!!!!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货