Behind the Scenes: Implementing Filtering for Windows Forms Data Binding

Language:
English
Shows how to extend the generic BindingList and implement the filtering functionality of the IBindingListView.
  • Version:

    1.0

    File Name:

    BindingFiltering.zip

    Date Published:

    4/10/2008

    File Size:

    220 KB

      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.
  • Supported Operating System

    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
    • To download the Behind the Scenes: Implementing Filtering for Windows Forms Data Binding document and associated code sample, click the Download button above.
Site feedback
Microsoft

What category would you like to give web site feedback on?



Rate your level of satisfaction with this web page today:

Comments:

Submit