to 各位兄弟: 帮帮忙呀!
<%
Dim sCn
Dim strConnection
strConnection= "driver={Sql Server};server=aa;uid=sa;pwd=;database=zz"
sCnStr= "driver={Sql Server};server=aa;uid=sa;pwd=;database=zz"
Set sCn = Server.CreateObject("ADODB.Connection")
sCn.Open strConnection
'解析字符传
str=Request.QueryString("strKey")
my_string=mid(str,13,len(str))
sqlstr="Select * from aa where id=1"
sCn.execute SqlStr,1,0
ss= sCn.fields("xm") 这里出错了,我怎样将xm这个字段内容付到ss里呢?
提示错误,变量或者类型不正确,或者不在可以接受的范围之内,要不就是与其他数据冲突。
%>