?
=?ISO-8859-1?Q?Hel=E9ne?=
Hi!
I have a string I want to save to database via a webmethod. The
webmethod takes a dataset where my string is declared as base64binary.
I have tried to convert my string to a byte array and send this to the
method. This returns no error but when I read the string again only
the first carachter seems to have been stored in the database. Isn't
the base64binary a byte array??
I have also tried the system.convert.tobase64string/chararray and
frombase64...
but this returns an error when I try to save. It seems to be an
invalid cast. I am also not surtain of the string/chararray here but I
have tried both with no luck.
I would appriciate any help on this.
Helene
I have a string I want to save to database via a webmethod. The
webmethod takes a dataset where my string is declared as base64binary.
I have tried to convert my string to a byte array and send this to the
method. This returns no error but when I read the string again only
the first carachter seems to have been stored in the database. Isn't
the base64binary a byte array??
I have also tried the system.convert.tobase64string/chararray and
frombase64...
but this returns an error when I try to save. It seems to be an
invalid cast. I am also not surtain of the string/chararray here but I
have tried both with no luck.
I would appriciate any help on this.
Helene