| Bob zhu - MSFT wrote: |
| 360000 is really a big number, why not query in DataBase and refill the datagrid? |
|
Because I'd like to avoid another round-trip to the database. The filtering is done immediately after the user presses a key (like "Find as you type" in Firefox) and as the client gets it's data over the an Internet, I'd like to avoid transferring the whole data each time the user applies a filter. DataTable.Select() only needs about six seconds to retrieve the data, which would be perfectly fine, but I thought there would be a way to avoid writing additional code for that.