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. C / C++ / MFC
  4. dispalying record from database

dispalying record from database

Scheduled Pinned Locked Moved C / C++ / MFC
databaseoraclequestion
3 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.
  • P Offline
    P Offline
    parthmankad
    wrote on last edited by
    #1

    i have an oracle database and i have a combobox and two edit controls.i want to display record from table into the combobox and the two edit box using CRecordset.how can i do it

    A 1 Reply Last reply
    0
    • P parthmankad

      i have an oracle database and i have a combobox and two edit controls.i want to display record from table into the combobox and the two edit box using CRecordset.how can i do it

      A Offline
      A Offline
      Antti Keskinen
      wrote on last edited by
      #2

      You use a combination of CDatabase and CRecordset objects, with a data source (DSN) on your machine. Basically, the CDatabase connects to the data source by it's name, and then a CRecordset object is created. You then write a query with the recordset, and execute it. When done, the recordset object contains the results of the query. See the MSDN for more information. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.

      A 1 Reply Last reply
      0
      • A Antti Keskinen

        You use a combination of CDatabase and CRecordset objects, with a data source (DSN) on your machine. Basically, the CDatabase connects to the data source by it's name, and then a CRecordset object is created. You then write a query with the recordset, and execute it. When done, the recordset object contains the results of the query. See the MSDN for more information. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.

        A Offline
        A Offline
        Antti Keskinen
        wrote on last edited by
        #3

        As a reply to your e-mail: unfortunately no, I cannot code these things for you, I am too busy with my own projects to take on this type of a task. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.

        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