|
相关代码如下:
comm1.CommandText = "update article set content='"+newContent+"' where articleid="+id"";
try
{
comm1.ExecuteNonQuery();
}
catch (Exception)
{
throw;
}
语法错误 (操作符丢失) 在查询表达式 ''<P align=center>
<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 height=360 width=480 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="_cx" VALUE=&quo' 中。
各位大哥这是怎么回事?(其中,newContent是个字符串,值是:<P align=center>
<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 height=360 width=480 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="_cx" VALUE="12700"><PARAM NAME="_cy" VALUE="9525"><PARAM NAME="FlashVars" VALUE=""><PARAM NAME="Movie" VALUE="http://swf.xyx007.com/yx007-swf/20169/4/201694125028.swf"><PARAM NAME="Src" VALUE="http://swf.xyx007.com/yx007-swf/20169/4/201694125028.swf"><PARAM NAME="WMode" VALUE="Window"><PARAM NAME="Play" VALUE="-1"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="Low"><PARAM NAME="SAlign" VALUE=""><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE=""><PARAM NAME="Scale" VALUE="ShowAll"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE=""><PARAM NAME="SWRemote" VALUE=""><PARAM NAME="MovieData" VALUE=""><PARAM NAME="SeamlessTabbing" VALUE="1"><PARAM NAME="Profile" VALUE="0"><PARAM NAME="ProfileAddress" VALUE=""><PARAM NAME="ProfilePort" VALUE="0">
<embed src='http://swf.xyx007.com/yx007-swf/20169/4/201694125028.swf' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' quality='high' width='480' height='360'></embed></OBJECT></P>
|
|