LLBLGen Pro Team
The Hague, The Netherlands
|If Trim(entry.Value) = "" Then
entry.Value = Nothing
Is this a test?
entry.Value = null;
1) it's better not to use old VB5-6 native keywords like 'Trim'. Better use the .NET framework, so use the 'Trim' method on string
2) I personally don't think it's wise to use 'null' for string values, unless you absolutely have to.