+ -
当前位置:首页 → 问答吧 → ASP的数据,本地测试可以,可传到空间就不行提示。。。。。C;、、路经错误

ASP的数据,本地测试可以,可传到空间就不行提示。。。。。C;、、路经错误

时间:2011-12-04

来源:互联网

ASP的数据,本地测试可以,可传到空间就不行提示。。。。。C;、、路经错误代码:
 If (Not MM_abortEdit) Then
  ' execute the insert
  Set MM_editCmd = Server.CreateObject("ADODB.Command")
  MM_editCmd.ActiveConnection = MM_editConnection
  MM_editCmd.CommandText = MM_editQuery
  MM_editCmd.Execute
  MM_editCmd.ActiveConnection.Close

  If (MM_editRedirectUrl <> "") Then
  Response.Redirect(MM_editRedirectUrl)
  End If
  End If

End If
%>
<%
Dim Recordset1
Dim Recordset1_numRows

Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection =MM-test_SYTRING

Recordset1.Source = "SELECT * FROM test"
Recordset1.CursorType = 2
Recordset1.CursorLocation = 2
Recordset1.LockType = 3
Recordset1.Open()

作者: chenlei8888   发布时间: 2011-12-04

DB的路径在哪

作者: xiaofanku   发布时间: 2011-12-04

热门下载

更多