Trace Id is missing

Unlock your potential with Microsoft Copilot

Get things done faster and unleash your creativity with the power of AI anywhere you go.
Microsoft Copilot app being utilized to generate pictures of a singing dog, assisting to identify a flower, and helping to generate an email to congratulate a coworker on a promotion.

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:

    12/5/2007

    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