Efficient search in a Datagrid

  • Thread starter Thread starter Miguel MAchado
  • Start date Start date
M

Miguel MAchado

I have a DATAGRID where position about 20,000 registry.
I want to make a search in those registry, which have been loaded in
dataset.
As it is the efficient form but to make that search?

SO: Pocket PC 2002 ---> VB.NET ----- DataBase: Pocket Access ---

thx
Miguel Machado
 
Miguel,

If data is loaded into the DataSet, you can use DataTable.Select(),
DataView.Find() or you can use DataView filtering.

If you need to filter out some records in a DataGrid, apply filtering to
the DataView DataGrid is bound to.
If you set grid's DataSource to a DataTable, that would be table's
DefaultView.

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
 

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

Similar Threads


Back
Top