日期:2014-05-17  浏览次数:20966 次

语句未结束???????????
Response.Write( " <tr> <td   width= " "20% " "   height= " "24 " "   align= " "center " "   bgcolor= " "#FFFFFF " "> ")Response.Write( " "&ID& " </td> ")
Response.Write( " <td   width= " "20% " "   height= " "24 " "   align= " "center " "   bgcolor= " "#FFFFFF " "> ")Response.Write( " "&Session( " "fmuername " ")& " </td> ")
错误是:
Microsoft   VBScript   编译器错误   (0x800A0401)
语句未结束
/stu/exam_reg3.asp,   line   63,   column   91
Response.Write( " <tr> <td   width= " "20% " "   height= " "24 " "   align= " "center " "   bgcolor= " "#FFFFFF " "> ")Response.Write(ID& " </td> ")
------------------------------------------------------^
该怎么解决呢???

------解决方案--------------------
Response.Write( " "&Session( "fmuername ")& " </td> ")

------解决方案--------------------
Response.Write( " "&Session( " "fmuername " ")& " </td> ")
这个写错了,改称下面的
Response.Write( " "&Session( "fmuername ")& " </td> ")
如果fmuername也是一个变量的话,那就写成下面的
Response.Write( " "&Session(fmuername)& " </td> ")


------解决方案--------------------
Response.Write( " <tr> <td width= " "20% " " height= " "24 " " align= " "center " " bgcolor= " "#FFFFFF " "> ")Response.Write( " "&ID& " </td> ")
这两句在这一行上面,你换一下行就可以了
------解决方案--------------------
Response.Write( " <tr> <td width= " "20% " " height= " "24 " " align= " "center " " color= " "#FFFFFF " "> ")
Response.Write(ID& " </td> ")
Response.Write( " <td width= " "20% " " height= " "24 " " align= " "center " " bgcolor= " "#FFFFFF " "> ")
Response.Write(Session( "fmuername ")& " </td> ")