Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)
[Microsoft][ODBC Microsoft Access Driver] 参数不足,期待是 1。
看看这个问题,是什么造成的
我在看数据库插入数据,只要是数字就没事,但是要插入汉字,
就会有这种情况也来,哪位有过类似的经历,不妨给偶讲一下,谢谢!
接受页
<% 
yg=request.form("yg") 
jp=request.form("jp") 
sj=request.form("sj") 
exec="insert into img2(yg,jp,sj)values('"+yg+"',"+jp+",'"+sj+"')" 
conn.execute exec 
conn.close 
set conn=nothing 
response.write "记录添加成功!" 
%> 
提交页
<td valign="top"><form id="form1" name="form1" method="post" action="x2.asp">
      <label>
      预 告 :
      <input type="text" name="yg" />
      </label>
        <p>
          <label>嘉 宾 :
          <input type="text" name="jp" />
          </label>
        </p>
        <p>
          <label>时 间 :
          <input type="text" name="sj" />
          </label>
        </p>
        <p>
          <label>
          <input type="submit" name="Submit" value="提交" />
          </label>
        </p>
    </form>
    </td>
[此贴子已经被作者于2007-4-20 10:54:42编辑过]



 
											





 
	    

 
	


