新手,高分求教

lin45143777 lin45143777 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
Dim oConn,strSQL, objRS,add,StrConn
set oconn=server.CreateObject ("adodb.connection")
StrConn= "Provider=SQLOLEDB;Data Source=192.168.0.11;User ID=sa;Password=;"
oConn.cursorlocation=3
strSQL = "select a.basepoint_id as 基站编号,isnull(b.pnum,0) as 人数 from basepoint a left join (select basepoint_id,count(basepoint_id) as PNum from bp_result group by basepoint_id) b on a.basepoint_id=b.basepoint_id order by a.basepoint_id"
oConn.Open StrSQL,StrConn,1,1
x=1
Response.Write %>"<%Response.Write"Changdu"%>":"<%=objRS.recordcount%>"
<%while (not objRS.Eof)
Response.Write %>,"<%Response.Write x%>":"<%=objRS("人数")%>"




Microsoft VBScript 运行时错误 (0x800A01C2)
错误的参数个数或无效的参数属性值: 'Write'
/station.asp, 第 18 行
...全文

相关推荐

评论 21
收藏 已收藏
分享
返回顶部
lin45143777
VB基础类 7,788 成员 197,583 内容