Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searching through datasets

Status
Not open for further replies.

TeaAddictedGeek

Programmer
Apr 23, 1999
271
US
Is it possible to query a database, return a dataset, and instead of making an additional call be able to search within the recordset multiple times to obtain a subset of data?

I'm attempting to solve a nested datagrid issue where the main datagrid has individual rows with a datagrid representation of data for each row, and don't want to make multiple queries for n number of records.


Thanks!

[morning]

"The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs."
-Joseph Weizenbaum
 
By dataset / recordset you mean a collection of rows fetched from the database? Or the ones already cached (in a DataSet or DataTable object/s)?

If you can explain a bit more specific on what you are trying to do, maybe others can then offer their suggestions.

Nested/recursive searching by itself is possible. But the complexity or simplicity of the searching algo depends basically on the requirements and data schema.

My 2cents [wink]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top