This is the Trace Id: 99d184bffba2aa697662577ce63fb389
Skip to main content Microsoft 365 Office Azure Copilot Windows Xbox Support Windows Apps OneDrive Outlook Moving from Skype to Teams OneNote Microsoft Teams Shop Xbox Accessories Xbox games Microsoft AI Microsoft Security Azure Dynamics 365 Microsoft 365 for business Microsoft Power Platform Windows 365 Digital Sovereignty Microsoft Developer Microsoft Learn Support for AI marketplace apps Microsoft Tech Community Microsoft Marketplace Visual Studio Marketplace Rewards Free downloads & security Education Gift cards Licensing View Sitemap

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.