Like Tree1Likes
  • 1 Post By Salem

database application

This is a discussion on database application within the Windows Programming forums, part of the Platform Specific Boards category; Hi i need help on how to connect data from a dialog box to a sql database. i want the ...

  1. #1
    Registered User
    Join Date
    Dec 2012
    Posts
    7

    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
    Posts
    7
    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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,434
    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.
    stahta01 likes this.
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Registered User
    Join Date
    Dec 2012
    Posts
    7
    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! www.gamingdl.com
    By gamingdl'er in forum Game Programming
    Replies: 5
    Last Post: 03-18-2006, 12:03 AM
  3. Using C++ for GUI with Database Application
    By bugmenot in forum Windows Programming
    Replies: 7
    Last Post: 12-14-2005, 07: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

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