By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,364 Members | 1,267 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,364 IT Pros & Developers. It's quick & easy.

Upload some file and put it into database

P: n/a
Hello.
I'm developing some application which needs to upload some file to server
and put it into database BLOB field.
Also I want to provide this feature without saving the upload file to the
server, I want upload and directly insert it to the database.
Can anybody help me and tell how can I do this?

Thank you.
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
See :
http://support.microsoft.com/default...b;EN-US;309158

The HttpPostedfile class should likely expose the uploaded file as a stream.

Make sure also you carefully checked the other solution (IMO most often
files are stored outside of the database).

Patrice

--

"Dave" <da*********@hotmail.com> a écrit dans le message de
news:u$**************@tk2msftngp13.phx.gbl...
Hello.
I'm developing some application which needs to upload some file to server
and put it into database BLOB field.
Also I want to provide this feature without saving the upload file to the
server, I want upload and directly insert it to the database.
Can anybody help me and tell how can I do this?

Thank you.

Nov 18 '05 #2

P: n/a
This article explains the process of uploading files directly into SQL
Server and getting them back out again:
http://steve.orr.net/content/asp200307so_f.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Dave" <da*********@hotmail.com> wrote in message
news:u$**************@tk2msftngp13.phx.gbl...
Hello.
I'm developing some application which needs to upload some file to server
and put it into database BLOB field.
Also I want to provide this feature without saving the upload file to the
server, I want upload and directly insert it to the database.
Can anybody help me and tell how can I do this?

Thank you.

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.