Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.