You can really streamline things by having your second grid simply receive the data from the selected cell of the first grid, instead of going through a database View. When a row becomes selected in the first grid, you could push the selected data to the other grid through the DGV_RFI_SelectionChanged event.
Main Topics
Browse All Topics





by: VBRocksPosted on 2009-10-22 at 07:07:46ID: 25634355
The absolute fastest way to handle this is to NOT load all of the records in the grid that needs to be filtered, in fact, don't load any...
When a user selects a row in the main grid, query the SQL Server for all of the related records, and then display those in the (filtered) grid.
Make sense?