Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. DataBound Controls

DataBound Controls

Scheduled Pinned Locked Moved Visual Basic
databasequestion
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cmania
    wrote on last edited by
    #1

    Hi

    1.Can I connect DataBound Controls to Data Control or ADODC at runtime?
    2.Can connect DataBound Controls to Database Objects?

    Spread wat u Know!

    D 1 Reply Last reply
    0
    • C Cmania

      Hi

      1.Can I connect DataBound Controls to Data Control or ADODC at runtime?
      2.Can connect DataBound Controls to Database Objects?

      Spread wat u Know!

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Are you using VB.NET or VB6? What do you mean by "Database Objects"? Which classes are you talking about?

      Dave Kreskowiak Microsoft MVP - Visual Basic

      C 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Are you using VB.NET or VB6? What do you mean by "Database Objects"? Which classes are you talking about?

        Dave Kreskowiak Microsoft MVP - Visual Basic

        C Offline
        C Offline
        Cmania
        wrote on last edited by
        #3

        Well Im using VB6. By Database Objects I mean using objects of the classes imported after adding the reference Microsoft DAO 3.6 object library.

        Spread wat u Know!

        D 1 Reply Last reply
        0
        • C Cmania

          Well Im using VB6. By Database Objects I mean using objects of the classes imported after adding the reference Microsoft DAO 3.6 object library.

          Spread wat u Know!

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Cmania wrote:

          Microsoft DAO 3.6 object library.

          Why? That was the last version of DAO Microsoft put out, about 7 years ago (I think!) You might want to move up to something a little more modern and, more importantly, still supported, like ADO. Better yet, move from VB6 to VB.NET.

          Dave Kreskowiak Microsoft MVP - Visual Basic

          C 1 Reply Last reply
          0
          • D Dave Kreskowiak

            Cmania wrote:

            Microsoft DAO 3.6 object library.

            Why? That was the last version of DAO Microsoft put out, about 7 years ago (I think!) You might want to move up to something a little more modern and, more importantly, still supported, like ADO. Better yet, move from VB6 to VB.NET.

            Dave Kreskowiak Microsoft MVP - Visual Basic

            C Offline
            C Offline
            Cmania
            wrote on last edited by
            #5

            Fine! Wat i exactly wanna no is that whether i can connect DataBound controls to Database Objects of DAO and ADODB library at runtime or not? I tried but couldnt make it. If it can be will plz give some code.... To remind u im using VB6.

            Spread wat u Know!

            D 1 Reply Last reply
            0
            • C Cmania

              Fine! Wat i exactly wanna no is that whether i can connect DataBound controls to Database Objects of DAO and ADODB library at runtime or not? I tried but couldnt make it. If it can be will plz give some code.... To remind u im using VB6.

              Spread wat u Know!

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              Yes, it's possible. But, I have no examples. I haven't used VB6 in about 6 years now. Examples using DAO are few and far between. If you Google for "VB6 DAO"[^], you'll see some examples, but many problems too.

              Dave Kreskowiak Microsoft MVP - Visual Basic

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups