网页: POST 103 ??? /xscj/AddStuScore.asp POST Data: StuXH=061101&StuXM=061101&StuKCM=%BC%C6%CB%E3%BB%FA%BB%F9%B4%A1++++++&StuCJ=&StuXF=&StuUpd=%B8%FC%D0%C2 关键代码: OpenConn() if Request.Form("StuUpd")="更新" then Set SqlCmd=Server.CreateObject("ADODB.COMMAND") SqlCmd.ActiveConnection=SqlConn SqlCmd.CommandText="AddStuScore" SqlCmd.commandType=4 //调用存储过程 //创建参数对象 set StuXH=SqlCmd.CreateParameter("@XH",adVarChar,adParamInput,“6“ )(报错在这行!!!) SqlCmd.Parameters.Append(StuXH) set StuKCM=SqlCmd.CreateParameter("@KCM",adVarChar,adParamInput,”16“) SqlCmd.Parameters.Append(StuKCM) set StuCJ=SqlCmd.CreateParameter("@CJ",adInteger,adParamInput) SqlCmd.Parameters.Append(StuCJ) set StuXF=SqlCmd.CreateParameter("@XF",adInteger,adParamInput) SqlCmd.Parameters.Append(StuXF) //为参数赋值 SqlCmd("@XH")=Request.Form("StuXH") SqlCmd("@KCM")=Request.Form("StuKCM") SqlCmd("@CJ")=Request.Form("StuCJ") SqlCmd("@XF")=Request.Form("StuXF") SqlCmd.Execute 数据库建的表create table cxb ( xb char(2) not null, cxb char(2) not null ); insert into cxb values('1','男'); insert into cxb values('0','女'); commit; 执行修改时,页面显示的是0,或-1不能显示男,女,是不是我的页面和数据库没有关联起来???