|
作者: snow_qi [snow_qi] 论坛用户 | 登录 |
源代码如下: <% Dim MM_album_view_STRING MM_album_view_STRING = "dsn=test;" Dim Recordset1 Dim Recordset1_numRows Set Recordset1 = Server.CreateObject("ADODB.Recordset") Recordset1.ActiveConnection = MM_album_view_STRING Recordset1.Source = "SELECT * FROM test " Recordset1.CursorType = 0 Recordset1.CursorLocation = 2 Recordset1.LockType = 1 Recordset1.Open() Recordset1_numRows = 0 %> 然后总提示Recordset1.ActiveConnection = MM_album_view_STRING 这行有问题 我也在数据源里设置了阿 服务器上就没有任何问题,可惜那个服务器不是我配的 这个应该不是代码的问题吧 |
地主 发表时间: 05-08-29 15:01 |
|
20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon
粤ICP备05087286号