public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destType)
{
if (destType == typeof(string) && value is TransactionEntry)
{
// Cast the value to an Employee type
TransactionEntry pp = (TransactionEntry)value;
return pp.EntryDateTime.ToString() + ", " + pp.SymbolAddress + ", " + pp.SymbolLength;
}
return base.ConvertTo(context, culture, value, destType);
}