|
-
Sep 14th, 2003, 10:52 PM
#1
Thread Starter
Hyperactive Member
OleDbDataAdapter
I use the below but I encouter this error message:
Type 'OleDbDataAdapter1' is not defined'
Dim drsql As New OleDbDataAdapter1("SELECT * FROM employee WHERE empno like '" & TextBox1.Text & "%'"
, OleDbConnection1)
'Dim DataSet11 As New DataSet()
DataSet11.Clear()
drsql.Fill(DataSet11, "Employee")
DataGrid1.DataSource = DataSet11
What code should I write?
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
|