Click or drag to resize

EventArgPropertyDataValue Property

A object value

Namespace:  SOWIData.Helper
Assembly:  SOWIData.Helper (in SOWIData.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public Object Value { get; set; }

Property Value

Type: Object
Examples
Property data type analyse (e.g. from a class) and put data type value
if (lDataFieldType == typeof(string))
{
    lDataField.SetValue(pDataItem, lXMLValue, null);
}
else if (lDataFieldType == typeof(int))
{
    int lIntValue = System.Convert.ToInt32(lXMLValue);
    lDataField.SetValue(pDataItem, lIntValue, null);
}
else if (lDataFieldType == typeof(System.Nullable<int>))
{
    int lIntValue = System.Convert.ToInt32(lXMLValue);
    lDataField.SetValue(pDataItem, lIntValue, null);
}
See Also