Fill all the column values to a data row from with the public properties of an object. string, Double Bool and DateTime types are supported.

Namespace:  Devolutions.Utils
Assembly:  Devolutions.Utils (in Devolutions.Utils.dll)

Syntax

Visual Basic
Public Shared Sub FillDataRowFromObject ( _
	type As Type, _
	dataRow As DataRow, _
	obj As Object _
)
C#
public static void FillDataRowFromObject(
	Type type,
	DataRow dataRow,
	Object obj
)

Parameters

type
Type: System..::..Type
dataRow
Type: System.Data..::..DataRow
obj
Type: System..::..Object

See Also