Dataset/Datareader and filter

  • Thread starter Thread starter Bart Schelkens
  • Start date Start date
B

Bart Schelkens

Hi,

when we worked with recordsets in VB6 we had the possibility to filter our
recordset.
Does this option still exist in a dataset or a datareader?
If not, how can we have the same effect ?

Thanks.
 
Hi Bart,

But of course.
You might take a look at DataView and its RowFilter property.
Or, you can just select rows out of DataTable using DataTable.Select
statement.
(DataReader is just a reader - if you want to filter it, adjust its sql
select statement)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top