资 源 简 介
The Microsoft® Windows Forms DataGridView control in
Microsoft® Visual Studio® 2005 provides a grid experience similar to Microsoft®
Excel, but does not provide the column filtering drop-down lists that Excel
provides in its AutoFilter feature. However, the DataGridView can bind to data sources that provide
filtering, such as the ADO.NET DataView. This article describes how to build a custom DataGridView column header cell
that displays drop-down filter lists, by taking advantage of the filtering
capabilities of the data source and the new BindingSource component.