Set a datarow if the value is different of the current one.
Namespace:
Devolutions.UtilsAssembly: Devolutions.Utils (in Devolutions.Utils.dll)
Syntax
| Visual Basic |
|---|
Public Shared Sub SetDataRowValue ( _ dataRow As DataRow, _ columnName As String, _ value As Object _ ) |
| C# |
|---|
public static void SetDataRowValue( DataRow dataRow, string columnName, Object value ) |
Parameters
- dataRow
- Type: System.Data..::..DataRow
- columnName
- Type: System..::..String
- value
- Type: System..::..Object