DataValueToType(DataColumn, Object, Boolean, CutTypeString) Method
Converts a value to the indicated column type.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static Object ValueToType(
DataColumn column,
Object value,
bool emptyIsNull = true,
CutTypeString cutString = CutTypeString.Right
)
Public Shared Function ValueToType (
column As DataColumn,
value As Object,
Optional emptyIsNull As Boolean = true,
Optional cutString As CutTypeString = CutTypeString.Right
) As Object
- column DataColumn
- Data column.
- value Object
- Value to convert.
- emptyIsNull Boolean (Optional)
- If the field is of type String then it can be set to if it is empty.
- cutString CutTypeString (Optional)
- If the field is of type String then you can indicate that it be cut if the size is exceeded.
ObjectObject with the value converted.