Upload Images To Database

Thread is closed for posting
2 posts, 0 answers
  1. JK
    JK avatar
    123 posts
    Member since:
    Sep 2007

    Posted 06 May 2008 Link to this post

    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.
  2. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 08 May 2008 Link to this post

    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
Back to Top