useless adodc

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ANTY90
    New Member
    • Dec 2007
    • 14

    useless adodc

    Hi.
    Tell me how one can program the connection to a database without using adodc or DAO.
    I would be glad to know this from anybody.
    Happy new year.
    Last edited by Killer42; Jan 2 '08, 08:25 AM.
  • werks
    New Member
    • Dec 2007
    • 218

    #2
    Happy New Year..

    What do you mean? Are you looking for alternative connection to the database?
    Last edited by Killer42; Jan 2 '08, 08:26 AM.

    Comment

    • lotus18
      Contributor
      • Nov 2007
      • 865

      #3
      Originally posted by ANTY90
      hi
      tell me how one can progrm the connection to database without using adodc or dao
      i would be glad to know this from anybody
      jappy new year
      Hi

      You can use ADO if you like : )

      Rey Sean

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        the best solution is to use ADO.

        select ado library from project ------> reference

        then try this sample code
        [code=vb]
        Dim con As New adodb.connectio n
        Dim rs As New adodb.recordset

        'for connection to oracle
        con.Open "Provider=MSDAO RA.1;Password=t iger;User ID=scott;Data Source=orcl;Per sist Security Info=True"
        rs.Open "sqlstatment",c on. ,
        ...........
        ..............
        [/code]
        Last edited by Killer42; Jan 2 '08, 08:29 AM.

        Comment

        • ANTY90
          New Member
          • Dec 2007
          • 14

          #5
          Originally posted by werks
          Happy New Year..

          What do you mean? are you looking for alternative connection to the database?
          Yes werks, I don’t want to use adodc, adodb etc. I don’t want to use any of the predefined keywords.
          You have an answer
          Last edited by Killer42; Jan 2 '08, 08:32 AM.

          Comment

          • Killer42
            Recognized Expert Expert
            • Oct 2006
            • 8429

            #6
            Originally posted by ANTY90
            ...I don’t want to use any of the predefined keywords.
            You want to create your own programming language? Why?

            Comment

            • debasisdas
              Recognized Expert Expert
              • Dec 2006
              • 8119

              #7
              Originally posted by ANTY90
              Yes werks, I don’t want to use adodc, adodb etc. I don’t want to use any of the predefined keywords.
              You have an answer
              Then you need to define your own programming language

              Comment

              • QVeen72
                Recognized Expert Top Contributor
                • Oct 2006
                • 1445

                #8
                Hi,
                Its ok if you dont want to use ADODC, so why not ADODB?
                When ADO Objects are at your disposal and are made so simple, why go a round about way?
                For ages we are using ADO's , So what problem are you finding with that..?

                Regards
                Veena

                Comment

                • vikas000000a
                  New Member
                  • Jan 2008
                  • 46

                  #9
                  Originally posted by ANTY90
                  Hi.
                  Tell me how one can program the connection to a database without using adodc or DAO.
                  I would be glad to know this from anybody.
                  Happy new year.
                  I think there is no point in reinventing the wheel

                  Comment

                  Working...