The question mark at your query can be
@picture
. Then
Dim param As SqlCeParameter = new SqlCeParameter("@picture", SqlDbType.Image)
param.Value = imageData
cmd.Parameters.Add(param);
cmd.ExecuteNonQuery()
Remove your try catch and get get error on hand, let us know your error if not solved.