unable to import System.Data.ADO - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

unable to import System.Data.ADO

parikshit_pparikshit_p Posts: 4Member
I ve written a class in vb.net to connect to database and then execute a query.
I am unable to import System.Data.ADO so as to use the following code in that class

Public Function UserValid() As Boolean
Dim oCmd As Data.ADO.ADOCommand = _
New ADO.ADOCommand()
Dim oDR As Data.ADO.ADODataReader
Dim strSQL As String
Dim strConn As String
Dim boolFound As Boolean
'
'

.........................
what to do ?
Thanks in Advance

Comments

  • dwierdwier Posts: 1Member
    That's syntax from an earlier beta version of ASP.Net - please refer to :
    http://aspexpress.com/newcode.asp
    Which lists major syntax changed - also - http://aspnet101.com has many code samples, as well as tutorials, which show how to do things like this.

    David Wier
    http://aspexpress.com
    http://aspnet101.com

    : I ve written a class in vb.net to connect to database and then execute a query.
    : I am unable to import System.Data.ADO so as to use the following code in that class
    :
    : Public Function UserValid() As Boolean
    : Dim oCmd As Data.ADO.ADOCommand = _
    : New ADO.ADOCommand()
    : Dim oDR As Data.ADO.ADODataReader
    : Dim strSQL As String
    : Dim strConn As String
    : Dim boolFound As Boolean
    : '
    : '
    :
    : .........................
    : what to do ?
    : Thanks in Advance
    :

Sign In or Register to comment.