DataGridViewHelper GetMatchingRowIndex Method (DataGridView, Int32, String)CleanCode C# Libraries v1.2.03 API
Gets the index of the OnlineDataGridView row having a specified value in a particular column (specified by index).

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

public static int GetMatchingRowIndex(
	DataGridView dataGridView,
	int columnIndex,
	string value
)

Return Value

Matching row index, or -1 if not found.
Remarks

This method provides a way to quickly identify a particular row in a DataGridView.
See Also