Normal
ok, found it out![code] return ((string)arr[iCol]).Trim();[/code]Need to add a null-check before this line:[code]if (arr[iCol] == null) { return "";}[/code]Thanks & sorry for posting self-resolving topics (C# strings can be null, unlike in Delphi......)Cheers,Daniel
ok, found it out!
[code] return ((string)arr[iCol]).Trim();[/code]
Need to add a null-check before this line:
[code]if (arr[iCol] == null) { return "";}[/code]
Thanks & sorry for posting self-resolving topics
(C# strings can be null, unlike in Delphi......)
Cheers,
Daniel