I'm trying to save an uploaded file from a C# asp.net page into a Blob field in an Oracle table.
I'm putting the file into a byte array and passing that as the parameter value, but when I execute the Oracle command object (using the System.Data.OracleClient namespace), it throws an error saying
"Cannot bind type System.Byte[] as Blob"
So what should the datatype be when putting data into a blob field then?
Thanks,
J
I'm putting the file into a byte array and passing that as the parameter value, but when I execute the Oracle command object (using the System.Data.OracleClient namespace), it throws an error saying
"Cannot bind type System.Byte[] as Blob"
So what should the datatype be when putting data into a blob field then?
Thanks,
J