DataGridViewHelper ValidateFieldNames Method CleanCode C# Libraries v1.2.03 API
Validates a list of field names against the DataPropertyNames of a OnlineDataGridView.

Namespace: CleanCode.Forms
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public static void ValidateFieldNames(
	DataGridView dataGridView,
	string[] columns
)

Parameters

dataGridView
Type: OnlineSystem.Windows.Forms DataGridView
The DataGridView.
columns
Type:  OnlineSystem String 
The columns.
Remarks

ValidateFieldNames is a self-validation tool for ensuring that a list of field names you might use in a query for example are valid.
See Also