I have a "tb_customer" table which has a column named "address" of type Text in a MySQL database. I use
"ByteArray objects cannot be converted to strings."
when the variables #address# that contains the value of "address" column is processed. My first response to it was to look around and see what ByteArray object is in Coldfusion. Trying with no luck, I then thought it must have something to do with typecasting. Simply enclosing #address# variable as an argument of ToString function, like this one
#ToString(address)#
would do the trick.
2 comments:
Thanks for posting this, this helped me!!!
Thanks... It works...
-Prabha
http://bookmox.com
Post a Comment