|
-
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
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
|