I need to upload a file and save it in a SQL Server database.
I know how to upload it, saving it to the server hard disk.
I also know how to read it from the database.
My problem is saving it to the database. And can I save it directly without saving it to the server hard disk? The HttpPostedFile has a property InputStream. Can I somehow use it to send the file directly to the database? NetAngel
I know how to upload it, saving it to the server hard disk.
I also know how to read it from the database.
My problem is saving it to the database. And can I save it directly without saving it to the server hard disk? The HttpPostedFile has a property InputStream. Can I somehow use it to send the file directly to the database? NetAngel