Thread: Insert/Update Database (Urgent)

  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

  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, 12:34 PM
  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, 10:17 PM