具体代码如下:
set conn=Application("conn1")
set rs=server.CreateObject("adodb.recordset")
rs.open"select b_id,author,b_desc,price1,price2,b_name,pic,press from books order by id desc",conn,1,1
key=Request("searchkey")
运行显示缺少Application对象!但是在GLOBAL.ASA文件里确实有个Application过程啊!代码如下:
sub Application_OnStart
'创建连接
set Appication("conn1")=Server.CreateObject("ADODB.Connection")
p1="Provider=SQLOLEDB.1;"
path1="Date Source=Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=BookShop34"
Application("conn1").Open p1&path1
end sub
请问这个问题怎么解决啊。麻烦高手指点下!感激不尽!