Microsoft Download Center Archive

Behind the Scenes: Implementing Filtering for Windows Forms Data Binding

  • Published:
  • Version: 1.0
  • Category: SDK
  • Language: English

Shows how to extend the generic BindingList and implement the filtering functionality of the IBindingListView.

  • When you bind Windows Forms controls to an ADO.NET data source, specifically with a BindingSource as an intermediary, the searching, sorting, and filtering capabilities built in to a DataView are automatically exposed by the BindingSource. However, when you want to bind to a list of business objects, you have to implement these features yourself. A good solution is a generic implementation that can be reused with various business objects. This article describes how to extend the generic BindingList and implement the filtering functionality of the IBindingListView. This implementation enables you to store custom business objects in a list that you can search, sort, and filter.

Files

Status: Live

This download is still available on microsoft.com. The downloads below will come directly from the Microsoft Download Center.

FileSize
BindingFiltering.zip
SHA1: 4275331be8769c9fc10f6ebca6c3e716296736f6
190 KB

File sizes and hashes are retrieved from the Wayback Machine’s indexes. They may not match the latest versions of files hosted on Microsoft servers.

System Requirements

Operating Systems: Windows 2000 Server, Windows Server 2003, Windows Server 2008, Windows Vista, Windows XP

  • Visual Studio 2005 or Visual Studio 2008
    .NET Framework 2.0
    Microsoft Windows Forms

Installation Instructions

  • To download the Behind the Scenes: Implementing Filtering for Windows Forms Data Binding document and associated code sample, click the Download button above.