Insert/Update Database (Urgent)

This is a discussion on Insert/Update Database (Urgent) within the C++ Programming forums, part of the General Programming Boards category; Hi All, My tutor gives me this code fragment (querying the database) CDatabase db; db.OpenEx("DSN=issql; UID=IS5344; PWD=IS5344", 0L); CRecordset rs(&db); ...

  1. #1
    Joey
    Guest

    Insert/Update Database (Urgent)

    Hi All,

    My tutor gives me this code fragment (querying the database)
    CDatabase db;
    db.OpenEx("DSN=issql; UID=IS5344; PWD=IS5344", 0L);

    CRecordset rs(&db);
    rs.Open(AFX_DB_USE_DEFAULT_TYPE,
    "select Emp_ID, Emp_Name, Department, Positions, Emp_Type from Employee order by Emp_Type");

    And i want to insert/update the database, but didn't find any reference. Can anyone kindly provide me some quick reference?

    Thanks

  2. #2
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802

  3. #3
    Unregistered
    Guest
    what a good answer...

  4. #4
    Registered User
    Join Date
    Apr 2002
    Posts
    99

    Lol

    Maybe he means try searching for it...?
    Lol, I thought it would be obvious. Good luck!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. literature database: help with planning
    By officedog in forum C++ Programming
    Replies: 1
    Last Post: 01-23-2009, 11:34 AM
  2. Creating a database
    By Shamino in forum Game Programming
    Replies: 19
    Last Post: 06-10-2007, 01:09 PM
  3. Replies: 10
    Last Post: 05-18-2006, 11:23 PM
  4. Developing database management software
    By jdm in forum C++ Programming
    Replies: 4
    Last Post: 06-15-2004, 04:06 PM
  5. Making a Simple Database System
    By Speedy5 in forum C++ Programming
    Replies: 1
    Last Post: 03-14-2003, 09:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21