Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Ajax Uploader
»
Ajax Uploader in Database
Ajax Uploader in Database
Last post 11-20-2008, 2:18 AM by
Thomas Kaczmarek
. 2 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
11-19-2008, 3:38 AM
45933
Thomas Kaczmarek
Joined on 11-19-2008
Posts 2
Ajax Uploader in Database
Reply
Quote
Hi together,
I'm testing Ajax Uploader and it's getting near to our requirements.
Now my question: Is it possible to write the Uploaded files into a sql server database?
Is it similar to the normal WebControl in VisualStudio 2005?
Thanks for your efforts
Thomas
11-19-2008, 9:55 AM
45944
in reply to
45933
cutechat
Joined on 07-22-2004
Posts 2,332
Re: Ajax Uploader in Database
Reply
Quote
Hi,
You can read the binary data by open the stream:
void Uploader1_FileUploaded(object sender,UploaderEventArgs args)
{
using(Stream stream=args.OpenStream())
{
//read the stream into byte[], and then save to database
}
}
Regards,
Terry
11-20-2008, 2:18 AM
45983
in reply to
45944
Thomas Kaczmarek
Joined on 11-19-2008
Posts 2
Re: Ajax Uploader in Database
Reply
Quote
Hi Terry,
thanks for your answer.
I'll test it and will give you a reply.
Regards
Thomas