Hello all,
I have statements like the following in my Property Get:
Public Property AccountNumber() As String
Get
Return MyClass.AccountNumber.ToString
End Get
blah blah
End Property
where MyClass.AccountNumber is SqlString
The issue is that if MyClass.AccountNumber is null (in the database) my
property shown above returns a literal "Null" string when called.
Is this by design? How can I avoid it? I think returning an empty string
would be more appropriate than a value of "Null"...
Thanks in advance...
--
Anastasios Papadopoulos a.k.a. Cascader, Athens - Greece