Welcome to WindowsClient.net | Sign in | Join

These are task-based samples that are an excellent way to learn about various features of Windows Forms. Each sample is a short walk through, some providing online demonstrations of the final result.

DataGridView App using BackgroundWorker for Async Data Load

Control Author:
admin

Posted: 05-09-2007

Views: 5,518

Downloads: 9,164

 
File Details

This application uses the BackgroundWorker component and the DataGridView control (both new to Visual Studio 2005) to asynchronous load data into the DataGridView. The sample performs a “find in files” type of search on a background thread using the BackgroundWorker component. As file matches are found, the file info is reported back to the DataGridView to display the data using the ReportProgress method.




Page view counter