错误类似:
解决:
打开admin/KS.GuestMedal.asp
找到,并把下面红色的两个单引号删除
If KS.G("MedalName")="" Then Response.Write "<script>alert('请输入勋章名称!');history.back();</script>":response.end
Dim MedalID:MedalID=KS.ChkClng(Conn.Execute("Select Max(MedalID) From KS_GuestMedal")(0))+1
' If DataBaseType=1 Then CONN.execute("SET IDENTITY_INSERT [KS_GuestMedal] ON")
conn.execute("Insert into KS_GuestMedal(MedalID,MedalName,Status,ICO,LQFS) values(" & MedalID & ",'" & KS.G("MedalName") & "'," & KS.ChkClng(KS.G("Status")) & ",'" & KS.G("ico") & "',0)")
'If DataBaseType=1 Then CONN.execute("SET IDENTITY_INSERT [KS_GuestMedal] Off")