This is the Trace Id: 126bb88f6690f3416b45f635d40f4503

Bring the world closer with Bing Wallpaper

Download the free app and enjoy breathtaking views with a new background each day.
A laptop displaying a colorful seascape from Bing Wallpaper.

Building a Drop-Down Filter List for a DataGridView Column Header Cell Sample Code

Windows Forms sample code for adding drop-down filter lists to the DataGridView control. This sample code is associated with a white paper on this topic.

Important! Selecting a language below will dynamically change the complete page content to that language.

Download
  • Version:

    1.1

    Date Published:

    7/15/2024

    File Name:

    DataGridViewAutoFilter.zip

    File Size:

    248.0 KB

    Windows Forms sample code for adding drop-down filter lists to the DataGridView control similar to the AutoFilter feature of Excel. This sample code is associated with a white paper on this topic. For more information, see the associated Building a Drop-Down Filter List for a DataGridView Column Header Cell white paper. To provide feedback on this sample code and to check for updates, see the Windows Forms Documentation Updates Blog.
  • Supported Operating Systems

    Windows 2000 Service Pack 4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional 64-Bit Edition (Itanium) , Windows XP Service Pack 2, Windows XP Starter Edition

    Windows Server 2000 or later
    Visual Studio 2005
    .NET Framework 2.0
  • To download the Building a Drop-Down Filter List for a DataGridView Column Header Cell Sample Code click the Download button above.

Follow Microsoft