That won't work. Not as an INSERT, or as an UPDATE.
You might think it does, but...have a look at this:
Why do I get a "Parameter is not valid." exception when I read an image from my database?[
^] - it explains the basics of what is happening.
Now think: What does ToString return for a byte array?
Answer: "System.Byte[]"
And when you concatenate strings to form an SQL command, you end up with:
UPDATE profile SET picture='System.Byte[]' WHERE id=888
So, instead, use parametrized queries:
objcommand.CommandText = "UPDATE profile SET picture=@IM WHERE id=@ID";
objcommand.Parameters.AddWithValue("@ID", txtid.Text);
objcommand.Parameters.AddWithValue("@IM", arrImage);
This also has the advantage that your users can't damage or destroy your database by typing in the textbox and causing an SQL injection attack!