Thread: database application

  1. #1
    Registered User
    Join Date
    Dec 2012

    database application

    Hi i need help on how to connect data from a dialog box to a sql database.
    i want the the data in the control of the dialog to be added to the dialog when ok is clicked.

  2. #2
    Registered User
    Join Date
    Dec 2012
    sorry i meant i want the data in the control of the dialog to be added to the database each time the submit or ok button is clicked

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    So which of the following can you do?

    - open a connection, and write a fixed string into your sql database
    - on a button click, write the dialog contents to a local file on the file system

    In other words, practice some intermediate steps.
    Practice each unknown step in isolation, so you understand what each is about.

    Breaking the problem down, creating simple tests to explore the parts you don't know, and adapting the parts you do know is all part of writing code.

    For example, if you're stuck on the button press, there isn't a lot of point in immediately going into detail over the sql.

    Show us what you can do.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Registered User
    Join Date
    Dec 2012
    thank you very much, i would like to know the second option i.e writing the dialog content to a local file on the button click.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Best choise for a local application database
    By gogic in forum C# Programming
    Replies: 2
    Last Post: 04-04-2006, 07:08 AM
  2. A game/application database!
    By gamingdl'er in forum Game Programming
    Replies: 5
    Last Post: 03-18-2006, 01:03 AM
  3. Using C++ for GUI with Database Application
    By bugmenot in forum Windows Programming
    Replies: 7
    Last Post: 12-14-2005, 08:24 PM
  4. Database Application VC++ or vb6..?
    By gardenair in forum C Programming
    Replies: 0
    Last Post: 04-13-2003, 10:06 PM
  5. database application help.
    By Billy Baroo in forum Linux Programming
    Replies: 1
    Last Post: 09-02-2002, 06:23 PM