Results 1 to 3 of 3

Thread: Query a database

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2010
    Posts
    4

    Query a database

    Hi All,

    I'm new to this and could really use some help:

    I'm looking to have a user type something into a text box on a form and then on button press check that against values held in a single column of a single table in a database that I already have linked to the project. If it finds the item in the table Do X if not Do Y

    I've not idea where to start any help/advice greatly received.

    Thanks
    Nick

  2. #2
    Frenzied Member
    Join Date
    Feb 2008
    Location
    Texas
    Posts
    1,288

    Re: Query a database

    I'm sure if you search this forum for "query a X database" where X could equal "access" "sql server" "Oracle" or any other type you may be using, that you will find some good examples.

    Try that first, then post a reply with the code you're having issues if you can't get any further.

    Good luck,

    Justin
    Last edited by MonkOFox; May 17th, 2010 at 11:12 AM.
    You down with OOP? Yeah you know me!
    MCAD and MCMICKEYMOUSE (vb.net)

    ----

    If it even kinda helps... rate it : )

    Edit a Multi-page .tif file and save.

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Query a database

    Follow the Database FAQ link in my signature for some ADO.NET resources.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width