user225269
user225269

Reputation: 10913

How to search data using OleDbDataReader in VB.NET?

With ms access as the database storage software. And if you know of other ways on how to read data base on a certain criteria and displaying the results that meets the criteria.

Upvotes: 1

Views: 1219

Answers (1)

Jon Seigel
Jon Seigel

Reputation: 12401

The normal way to do this is to create a SQL query that does all the data searching/filtering/ordering on the database so you don't have to do it in code.

Doing it that way, all you have to do is iterate through the results in the DataReader.

If you're unfamiliar with SQL, here is a good place to get started.

Upvotes: 1

Related Questions