Click Here to Install Silverlight*
United StatesChange|All Microsoft Sites
Microsoft
Download Center 
Search Advanced Search

Behind the Scenes: Implementing Filtering for Windows Forms Data Binding

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

On This Page

Quick Details
File Name:BindingFiltering.zip
Version:1.0
Date Published:4/10/2008
Language:English
Download Size:220 KB
Estimated Download Time: 1 min 56K

Overview

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.

 Top of page

System Requirements

  • Supported 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

 Top of page

Instructions

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

 Top of page

What Others Are Downloading

Others who downloaded Behind the Scenes: Implementing Filtering for Windows Forms Data Binding also downloaded:
  1. Building a Drop-Down Filter List for a DataGridView Column Header Cell Sample Code

 Top of page


© 2009 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy Statement