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.

--------------------
 
Back
Top