O
oulin
Unregistered / Unconfirmed
GUEST, unregistred user!
编译器错误信息: BC30002: 未定义类型“adoConnection”。
源错误:
<%@ Page Language="VB" %>
<%@ import namespace="system.data" %>
<%@ import Namespace="system.data.ado" %>
<script runat="server">
sub page_load(sender As Object, e As EventArgs)
dim strconn as string="provider=Microsoft.Jet.OLEDB.4.0;"&"Data Source=d:/aspnet/database/bhkf.mdb;uid=admin;pwd=abcd1234;"
dim objconn as adoConnection '出错的地方
objconn = new adoconnection
objconn.connectionstring=strconn
objconn.open()
。。。
objconn.close()
objconn=nothing
end sub
....
请高手指点啊!我刚学习asp.net!!
源错误:
<%@ Page Language="VB" %>
<%@ import namespace="system.data" %>
<%@ import Namespace="system.data.ado" %>
<script runat="server">
sub page_load(sender As Object, e As EventArgs)
dim strconn as string="provider=Microsoft.Jet.OLEDB.4.0;"&"Data Source=d:/aspnet/database/bhkf.mdb;uid=admin;pwd=abcd1234;"
dim objconn as adoConnection '出错的地方
objconn = new adoconnection
objconn.connectionstring=strconn
objconn.open()
。。。
objconn.close()
objconn=nothing
end sub
....
请高手指点啊!我刚学习asp.net!!