Optimized find datarow.
Namespace:
Devolutions.UtilsAssembly: Devolutions.Utils (in Devolutions.Utils.dll)
Syntax
| Visual Basic |
|---|
Public Shared Function FindDataRow ( _ dataTable As DataTable, _ searchFieldName As String, _ searchValue As String _ ) As DataRow |
| C# |
|---|
public static DataRow FindDataRow( DataTable dataTable, string searchFieldName, string searchValue ) |
Parameters
- dataTable
- Type: System.Data..::..DataTable
- searchFieldName
- Type: System..::..String
- searchValue
- Type: System..::..String