This is a migrated thread and some comments may be shown as answers.

Upload Images To Database

1 Answer 253 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
JK
Top achievements
Rank 1
JK asked on 06 May 2008, 04:21 PM
Hi,

I have searched to no avail, so heres the question:

Can you use rad upload to upload images (gif/Jpg) to a database?  If so does anyone have any sample code to help me out?

I already have a means of uploading but its messy and would like to use this control if possible.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 08 May 2008, 11:41 AM
Hello Jon,

RadUpload can be used for uploading image files which could be saved in a database using the server-side API which the upload control provides. UploadedFile's InputStream property can be used for accessing the content of the corresponding uploaded file without the need of saving the file to a temporary location. Please, refer to the Manipulating the Uploaded Files help article for more details on how to implement the desired functionality and a sample code snippet demonstrating a similar scenario.

If you need further assistance, do contact us again.

All the best,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Upload (Obsolete)
Asked by
JK
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Share this question
or