|
-
May 7th, 2004, 04:00 PM
#1
Thread Starter
Junior Member
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
-
May 7th, 2004, 05:48 PM
#2
New Member
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
-
May 8th, 2004, 03:16 AM
#3
Thread Starter
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|