Quote:
I passed the blob as a text field in a form and submitted.
Don't.
There are two types of Excel files: XLS and XLSX - and neither of then are text based. The first is a proprietary binary format, the latter is a set of Zipped XML files. Trying to cram either form into a string will corrupt the data and render the file useless.
Instead, read the Excel data directly into an array of bytes, and send that to SQL via a parameterized query.
It's the same problem with Image data, and the same solution:
Why do I get a "Parameter is not valid." exception when I read an image from my database?[
^] shows a parameterized solution.