Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. check data availability

check data availability

Scheduled Pinned Locked Moved C#
csharpdatabasehelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sardonicus
    wrote on last edited by
    #1

    hi all, am new to C# programming and i got a little problem. i made a windows application form used for login to another form, it has "username" & "password" text boxes. it's connected to an Access database which stores the authorized usernames & passwords, so what i want is when the user clicks the "login" button..the program should check the user input whether it's found in the database, then it can tell user "access granted" or "access denied". thnx in advance

    E 1 Reply Last reply
    0
    • S sardonicus

      hi all, am new to C# programming and i got a little problem. i made a windows application form used for login to another form, it has "username" & "password" text boxes. it's connected to an Access database which stores the authorized usernames & passwords, so what i want is when the user clicks the "login" button..the program should check the user input whether it's found in the database, then it can tell user "access granted" or "access denied". thnx in advance

      E Offline
      E Offline
      enjoycrack
      wrote on last edited by
      #2

      Hi there, Did you know how to connect to Access DB? if so, you just make an sql query to check if the user's input is valid or not... << >>

      S 1 Reply Last reply
      0
      • E enjoycrack

        Hi there, Did you know how to connect to Access DB? if so, you just make an sql query to check if the user's input is valid or not... << >>

        S Offline
        S Offline
        sardonicus
        wrote on last edited by
        #3

        yes i made the connection already.....so how can i make this sql query to check for data existence in table ?!

        E 1 Reply Last reply
        0
        • S sardonicus

          yes i made the connection already.....so how can i make this sql query to check for data existence in table ?!

          E Offline
          E Offline
          enjoycrack
          wrote on last edited by
          #4

          you just build an simple SELECT sql query...For this, you can refer from SQL Book Online which installed along with MS SQL. << >>

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups