Results 1 to 3 of 3

Thread: making a winning programe?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    27

    making a winning programe?

    Making a winner in my program
    Hi im making a program in vb.net which is linked to a database, i have a group of users, and they have some numbers each, i want to be able to enter some numbers in text boxes and this checks them against their numbers and pulls out the matching users.

    any idea how i would do this?

    ive not done alot of programming in vb.net but i am keen to get started!!!

    Thanks

    Homer

  2. #2
    New Member
    Join Date
    May 2004
    Posts
    5
    Dim strSQL as string
    Dim cmdSelect as system.data.oledb.oledbcommand

    strSQL="Select * from tblUsers where UserNumber =" & TextBox1 & ";"

    cmdSelect=new system.data.oledb.oledbCommand(strSQL, conn)
    cmdSelect.executenonquery

    This is just an example. You can use use data adapter to fill grid with the results

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    27
    ok thanks ill give it ago!

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