ASP怎么定义ACCESS表名
做网页发布到虚拟主机上就提示第八行错误<%@LANGUAGE="VBSCRIPT"CODEPAGE="936"%><!--#includefile="Connection...
做网页发布到虚拟主机上就提示第八行错误<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/seed.asp" -->
<%
Dim seed_mc
Dim seed_mc_numRowsSet seed_mc = Server.CreateObject("ADODB.Recordset")
seed_mc.ActiveConnection = MM_seed_STRING
seed_mc.Source = "SELECT * FROM 名称"
seed_mc.CursorType = 0
seed_mc.CursorLocation = 2
seed_mc.LockType = 1
seed_mc.Open()问了技术人员,说是我没定义表明,要怎么定义?我是新手 展开
<!--#include file="Connections/seed.asp" -->
<%
Dim seed_mc
Dim seed_mc_numRowsSet seed_mc = Server.CreateObject("ADODB.Recordset")
seed_mc.ActiveConnection = MM_seed_STRING
seed_mc.Source = "SELECT * FROM 名称"
seed_mc.CursorType = 0
seed_mc.CursorLocation = 2
seed_mc.LockType = 1
seed_mc.Open()问了技术人员,说是我没定义表明,要怎么定义?我是新手 展开
1个回答
2014-03-01
展开全部
seed_mc.Source = "SELECT * FROM 名称" 你把“名称”换成 你数据库里要查询的表名不就行了么 就是你英文定义的那个表的名字
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询