09-23-04 02:48 AM
How embarassing - the data field in SQL was fixed length!
"Martin" <x@y.z> wrote in message
news:u$gzvKjnEHA.2612@TK2MSFTNGP15.phx.gbl...
> This is a strange one...
>
> It seems I have a custom profile field that CS2002 insists on appending a
> space to when it stores it in the database.
> Even as I write this, I think it can't be true, but am looking at the
value
> userprofile.Properties["myfield"].Value immediately prior to calling
> userprofile.Update(); -- the value has no space at the end
>
> After update executes I look in the database, and *there* is a space at
the
> end of the text.
>
> What's going on?
> I don't see spaces at the end of other fields, yet I can't see that it's a
> bug in my code unless the debugger is giving me duff information.
>
> Anyone?
> Martin
>
>
[ Post a follow-up to this message ]
|