|
-
Jan 19th, 2003, 09:25 PM
#1
Thread Starter
Hyperactive Member
SQL Find
I have add a DataGrid into the Form and I already connect its DataSource and DataMember.
I add a Button and put this code.
Dim aa as String
aa=InputBox("Search","Search for Employee No.")
DataAdapter1.SelectCommand.CommandText = & _
"SELECT * FROM Employee WHERE " & _
"ID = ' " & aa & "' " & _
DataAdapter1.Fill(DataSet11)
But there's no change.
What's wrong with this code?
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
|