G
Guest
Hi,
Once again, I'm stuck.
I want to view a table using a DataGrid. I'd like to fiter that view by
criteria on various fields.
So far, I've created a DataAdapter, generated a DataSet and used that
DataSet as the DataSource for a DataGrid. I put a "fill" in my open form
event.
Me.OleDbDataAdapter1.Fill(DataSet11)
Then I tried a select statement:
Me.DataSet11.Company.Select("ID=3", "ID", DataViewRowState.CurrentRows)
"Company" is the one and only table I selected when configuring the
DataAdapter.
The entire dataset shows up in my DataGrid. I can't seem to get it to filter.
Can anyone help?
Art
Once again, I'm stuck.
I want to view a table using a DataGrid. I'd like to fiter that view by
criteria on various fields.
So far, I've created a DataAdapter, generated a DataSet and used that
DataSet as the DataSource for a DataGrid. I put a "fill" in my open form
event.
Me.OleDbDataAdapter1.Fill(DataSet11)
Then I tried a select statement:
Me.DataSet11.Company.Select("ID=3", "ID", DataViewRowState.CurrentRows)
"Company" is the one and only table I selected when configuring the
DataAdapter.
The entire dataset shows up in my DataGrid. I can't seem to get it to filter.
Can anyone help?
Art