Oups, should have explained myself better...
Ok, i have this String which is in fact a SQL command i get from an interface. I have to send it to other users by using Spread, which is a group communication tool. My problem was that the function i needed had a byte[] as its argument, so that�s why i needed converting the string with the SQL command to a byte[].
Now, if i could only get the rest of the program to work properly...
In any case, thanks everybody!