BC30002: Type 'OLEDBConnection' is not defined.
I am new to this and i am trying an example from this book i purchased, asp.net 1.0 with visual basic .net
All i am trying to do is the following
Dim strConn As String = Application("ConnectionString")
Dim Conn As New OLEDBConnection(strConn)
and i am getting the error.
Compiler Error Message: BC30002: Type 'OLEDBConnection' is not defined.
Line 14:
Line 15: Dim strConn As String = Application("ConnectionString")
Line 16: Dim Conn As New OLEDBConnection(strConn)
Line 17:
Line 18: Conn.Open()
on Line16.
Why is this happening in the example i am typing it exacly the same.
can anyone help me.
|