I have this Error    on  fileContent   in dt.insert        Error    25    Value of type 'System.Data.SqlClient.SqlParameter' cannot be converted to '1-dimensional array of Byte'.  

I am using dataset 

        Dim rtf As [Byte]() = New [Byte](FCKeditor2.Value.Length - 1) {}         rtf = Encoding.ASCII.GetBytes(FCKeditor2.Value)         Dim fileContent As New SqlParameter()         ' fileContent.ParameterName = "@Doc"         fileContent.SqlDbType = SqlDbType.Image         fileContent.Size = rtf.Length         fileContent.Value = rtf
< ...

Go to the complete details ...