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. Managed C++/CLI
  4. Search in Microsoft Access database

Search in Microsoft Access database

Scheduled Pinned Locked Moved Managed C++/CLI
tutorialcsharpdatabasehelp
2 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
    CodeItWell
    wrote on last edited by
    #1

    I have connected my application with the Microsoft Access database, via ADO.NET OLEDB. I can insert and edit data, but I have no idea how to search the database, or just to select some record and to insert that into some string. Here is a example for inserting a new record String ^strData = "INSERT INTO Continents VALUES('Abcd',12345678,87654321);"; OleDbCommand ^cmdDatabase=gcnew OleDbCommand(strData, oleDbConnection1); cmdDatabase->ExecuteNonQuery(); Please help.

    S 1 Reply Last reply
    0
    • C CodeItWell

      I have connected my application with the Microsoft Access database, via ADO.NET OLEDB. I can insert and edit data, but I have no idea how to search the database, or just to select some record and to insert that into some string. Here is a example for inserting a new record String ^strData = "INSERT INTO Continents VALUES('Abcd',12345678,87654321);"; OleDbCommand ^cmdDatabase=gcnew OleDbCommand(strData, oleDbConnection1); cmdDatabase->ExecuteNonQuery(); Please help.

      S Offline
      S Offline
      Sourie
      wrote on last edited by
      #2

      Select, Insert, Search ,.... are all SQL commands. Please try a book about Sql.

      Sourie

      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