I am trying to save an attachment file to my DB<BR>*****************************************<BR >The pkg/proc is set up as follows:<BR><BR>Procedure P_WRITE_ATTACHMENT_INFO( var_content_type IN varchar2,<BR>var_content IN blob)<BR>***********************************<BR>wh en user selects the attachement ot be saved and click save, following runs, where MyFile is set up as follows:<BR>&#060;Input ID="MyFile" Type="file" RunAt="Server" Size="40" NAME="MyFile"&#062;<BR> <BR><BR>if (MyFile.PostedFile != null) <BR> {<BR> try <BR> {<BR> MyFile.PostedFile.SaveAs("C:\ServerFolder\test.doc ");<BR> Span1.InnerHtml = "Upload Successful!";<BR> }<BR> catch (Exception ex) <BR> {<BR> Span1.InnerHtml = "Error saving file &#060;b&#062;C:\" +<BR> MyFile.Value + "&#060;/b&#062;<BR>" + ex.ToString();<BR> }<BR> }<BR> FileName.InnerHtml = MyFile.PostedFile.FileName;<BR> FileContent.InnerHtml = MyFile.PostedFile.ContentType ;<BR> FileSize.InnerHtml = MyFile.PostedFile.ContentLength.ToString();<BR> Stream inputStream = MyFile.PostedFile.InputStream;<BR> <BR> UploadDetails.Visible = true;<BR> try<BR> {<BR> <BR> OracleDataReader dr = OracleHelper.ExecuteReader(<BR> DBUtil.GetDBConnStr(), <BR> "pkg_attachment.P_WRITE_ATTACHMENT_INFO",<BR> MyFile.PostedFile.ContentType, MyFile.PostedFile.InputStream<BR> );<BR> dr.Close();<BR> Span1.InnerHtml = "DB save Successful!";<BR><BR> <BR> <BR> }<BR> catch(Exception ex)<BR> {<BR> Span1.InnerHtml = ex.Message;<BR> <BR> }<BR><BR><BR>I am getting an "Object must implement IConvertible.bytes <BR>" error when I try this...I am trying to convert from asp and aspuload which passed in the content in binary format..how do I pass in the content in binary format in asp.net or how would I get the above to work.<BR>Thank you.