Get values from a
DataGridView column
(selected by index) from the set of rows meeting the
current BindingSource filter.
Namespace: CleanCode.Forms
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax
public static List<string> GetFilteredValues( DataGridView dataGridView, int columnIndex )
Parameters
- dataGridView
- Type:
System.Windows.Forms DataGridView
The DataGridView.
- columnIndex
- Type:
System Int32
Index of the column.
Return Value
List of values in the specified column.Remarks
See Also